Add periods
This commit is contained in:
@@ -1,19 +1,19 @@
|
||||
$ go build command-line-subcommands.go
|
||||
|
||||
# First invoke the foo subcommand
|
||||
# First invoke the foo subcommand.
|
||||
$ ./command-line-subcommands foo -enable -name=joe a1 a2
|
||||
subcommand 'foo'
|
||||
enable: true
|
||||
name: joe
|
||||
tail: [a1 a2]
|
||||
|
||||
# Now try bar
|
||||
# Now try bar.
|
||||
$ ./command-line-subcommands bar -level 8 a1
|
||||
subcommand 'bar'
|
||||
level: 8
|
||||
tail: [a1]
|
||||
|
||||
# But bar won't accept foo's flags
|
||||
# But bar won't accept foo's flags.
|
||||
$ ./command-line-subcommands bar -enable a1
|
||||
flag provided but not defined: -enable
|
||||
Usage of bar:
|
||||
|
||||
Reference in New Issue
Block a user