Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default value of number 0 doesn't get output in help #58

Open
katylava opened this issue Dec 4, 2014 · 1 comment
Open

Default value of number 0 doesn't get output in help #58

katylava opened this issue Dec 4, 2014 · 1 comment

Comments

@katylava
Copy link

katylava commented Dec 4, 2014

cli.parse({
    ccol: ['c', 'C ID column number', 'number', 1],
    dryrun: ['n', 'Dry run'],
    ocol: ['i', 'O ID column number', 'number', 0],
    outfile: ['o', 'Output file', 'path']
});
Options:
  -c, --ccol [NUMBER]C ID column number (Default is 1)
  -n, --dryrun           Dry run
  -i, --ocol NUMBER  O ID column number
  -o, --outfile PATH     Output file
  -h, --help             Display help and usage details
@celicoo
Copy link

celicoo commented Jan 4, 2016

Same problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants