./toycalc-nested.clj subc --help
NAME:
toycalc - A command-line toy calculator
USAGE:
toycalc [global-options] command [command options] [arguments...]
VERSION:
0.0.1
COMMANDS:
add Adds two numbers together
subc Subtracts parameter B from A
GLOBAL OPTIONS:
--base N 10 The number base for output
-?, --help
Expected:
./toycalc-nested.clj subc --help
NAME:
toycalc subc - Display ABCDEF
USAGE:
toycalc subc [global-options] command [command options] [arguments...]
VERSION:
0.0.1
COMMANDS:
sub Subtracts parameter B from A
GLOBAL OPTIONS:
--q N 10 A global option
-?, --help
version
0.4.0, JVM
problem
Expected: