You've already forked linux-packaging-mono
Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
This commit is contained in:
parent
0a9828183b
commit
7d7f676260
@@ -2,6 +2,7 @@ $ mono commands.exe
|
||||
Use `commands help` for usage.
|
||||
|
||||
$ mono commands.exe --help
|
||||
# HelpCommand.Invoke: arguments=
|
||||
usage: commands COMMAND [OPTIONS]
|
||||
|
||||
Mono.Options.CommandSet sample app.
|
||||
@@ -12,8 +13,14 @@ Global options:
|
||||
Available commands:
|
||||
echo Echo arguments to the screen
|
||||
requires-args Class-based Command subclass
|
||||
Commands with spaces are supported:
|
||||
has spaces spaces?!
|
||||
Nested CommandSets are also supported. They're invoked similarly to commands
|
||||
with spaces.
|
||||
set file type Does something or other.
|
||||
|
||||
$ mono commands.exe help
|
||||
# HelpCommand.Invoke: arguments=
|
||||
usage: commands COMMAND [OPTIONS]
|
||||
|
||||
Mono.Options.CommandSet sample app.
|
||||
@@ -24,18 +31,27 @@ Global options:
|
||||
Available commands:
|
||||
echo Echo arguments to the screen
|
||||
requires-args Class-based Command subclass
|
||||
Commands with spaces are supported:
|
||||
has spaces spaces?!
|
||||
Nested CommandSets are also supported. They're invoked similarly to commands
|
||||
with spaces.
|
||||
set file type Does something or other.
|
||||
|
||||
$ mono commands.exe help --help
|
||||
# HelpCommand.Invoke: arguments=--help
|
||||
Usage: commands COMMAND [OPTIONS]
|
||||
Use `commands help COMMAND` for help on a specific command.
|
||||
|
||||
Available commands:
|
||||
|
||||
echo Echo arguments to the screen
|
||||
has spaces spaces?!
|
||||
requires-args Class-based Command subclass
|
||||
set file type Does something or other.
|
||||
help Show this message and exit
|
||||
|
||||
$ mono commands.exe help echo
|
||||
# HelpCommand.Invoke: arguments=echo
|
||||
--help
|
||||
|
||||
$ mono commands.exe echo --help
|
||||
@@ -49,6 +65,7 @@ commands: Missing required argument `--name=NAME`.
|
||||
commands: Use `commands help requires-args` for details.
|
||||
|
||||
$ mono commands.exe help requires-args
|
||||
# HelpCommand.Invoke: arguments=requires-args
|
||||
usage: commands requires-args [OPTIONS]
|
||||
|
||||
Class-based Command subclass example.
|
||||
@@ -70,5 +87,12 @@ commands: Unknown command: invalid-command
|
||||
commands: Use `commands help` for usage.
|
||||
|
||||
$ mono commands.exe help invalid-command
|
||||
# HelpCommand.Invoke: arguments=invalid-command
|
||||
commands: Unknown command: invalid-command
|
||||
commands: Use `commands help` for usage.
|
||||
|
||||
$ mono commands.exe has spaces
|
||||
spaces, yo!
|
||||
|
||||
$ mono commands.exe set file type whatever
|
||||
File type set to: whatever
|
||||
|
||||
Reference in New Issue
Block a user