Commit 9da49ee
fix: hide GLOBAL OPTIONS in completion command help
The completion command ignores global flags by design, so displaying
them in --help output is misleading. Return nil from
VisiblePersistentFlags() when isCompletionCommand is true.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e1af768 commit 9da49ee
2 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
306 | 309 | | |
307 | 310 | | |
308 | 311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
0 commit comments