mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
cli: fix default flags when their command equivalents are disabled (#21469)
* always replace `\r\n` with `\n` * fix * test * cleanup * add doc comment
This commit is contained in:
parent
4320f8641b
commit
c0fec31bef
9 changed files with 69 additions and 13 deletions
8
vlib/cli/testdata/default_help_flag_no_command.out
vendored
Normal file
8
vlib/cli/testdata/default_help_flag_no_command.out
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
Usage: foo [flags] [commands]
|
||||
|
||||
Flags:
|
||||
-help Prints help information.
|
||||
-man Prints the auto-generated manpage.
|
||||
|
||||
Commands:
|
||||
man Prints the auto-generated manpage.
|
Loading…
Add table
Add a link
Reference in a new issue