Options with no short name
piuccio opened this issue · 0 comments
piuccio commented
On the documentation I read
cli.parse({
log: ['l', 'Enable logging'],
port: ['p', 'Listen on this port', 'number', 8080],
serve: [false, 'Serve static files from PATH', 'path', './public']
});
To me this means that serve
doesn't have a short flag.
What I see from cli.getUsage()
is
Options:
-l, --log Enable logging
-p, --port [NUMBER] Listen on this port (Default is 8080)
-false, --serve [PATH] Serve static files from PATH (Default is ./public)
-false
on the last line shouldn't be there.