Skip to content

Commit

Permalink
fix cli name in --help
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlamsl committed Apr 27, 2016
1 parent ac2f598 commit fa59d3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ var minify = require('.').minify;
var path = require('path');
var program = require('commander');

program.version(info.version).description(info.name + ' command-line tool');
program._name = info.name;
program.version(info.version);

function fatal(message) {
console.error(message);
Expand Down

0 comments on commit fa59d3b

Please sign in to comment.