Commit 56c1538
prevent enabled command fallback to Python when it's run without --help
Summary:
I'm introducing a new Rust-only command implementation, and I never
want it to fall back to Python help, even if it's run without a
required option. Therefore, handle
DisplayHelpOnMissingArgumentOrSubcommand as well as DisplayHelp.
Reviewed By: fanzeyi
Differential Revision: D44560239
fbshipit-source-id: 43c418da3c980a34a11277c82bf350822b0bc71b1 parent c682ccc commit 56c1538
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
| 186 | + | |
| 187 | + | |
187 | 188 | | |
188 | 189 | | |
189 | 190 | | |
| |||
0 commit comments