-
Couldn't load subscription status.
- Fork 48
Open
Description
I tried docopt.c for the first time today.
Running the example doesn't work, for example, see the following output:
$ ./example ship test move 4 5 --speed=20
Commands
mine == false
move == true
create == false
remove == false
set == false
ship == true
shoot == false
Arguments
x == (null)
y == (null)
Flags
--drifting == false
--help == false
--moored == false
--version == false
Options
--speed == 20
As you can see, the move command and the --speed option were read correctly, but the <x> and <y> arguments were NOT populated.
Metadata
Metadata
Assignees
Labels
No labels