Commit 5f338b0
authored
fix: remove command always showing help instead of executing (#823)
The help flag check used `helpArg != null` but addFlag always returns
a bool (false when not specified), never null. This caused the remove
command to always print help and exit without executing.
Changed to `helpArg == true` to match the same pattern used in
create.dart.
Fixes #822, Fixes #804, Fixes #7861 parent b4a310c commit 5f338b0
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments