Commit 2c11aa8
Only throw CliArgumentsException for pack command when help flags are present
Changed the condition in PackAction.ParseArgs() to only throw CliArgumentsException
when args contain --help, -h, or -? flags, instead of when no args are provided.
This ensures the help display behavior only triggers when explicitly requested.
Addresses feedback from @aishwaryabh in comment 2342407401.
Co-authored-by: aishwaryabh <37918412+aishwaryabh@users.noreply.github.com>1 parent f7cf9b4 commit 2c11aa8
1 file changed
+8
-2
lines changedLines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
50 | | - | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
0 commit comments