Skip to content

Commit

Permalink
Fixed use of argparse so --file is available.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickion committed Mar 5, 2016
1 parent b42b094 commit fa95f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/remarkable.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var cli = new argparse.ArgumentParser({
addHelp: true
});

cli.addArgument([ 'file' ], {
cli.addArgument([ '--file' ], {
help: 'File to read',
nargs: '?',
defaultValue: '-'
Expand Down

0 comments on commit fa95f7d

Please sign in to comment.