Browse Source

Fix default usage of `alias set`

master
Tony Kovanen 9 years ago
parent
commit
c93fbc6489
  1. 6
      bin/now-alias

6
bin/now-alias

@ -148,9 +148,9 @@ async function run (token) {
break; break;
default: default:
if (2 === args.length) { if (2 === argv._.length) {
await alias.set(String(args[0]), String(args[1])); await alias.set(String(argv._[0]), String(argv._[1]));
} else if (args.length >= 3) { } else if (argv._.length >= 3) {
error('Invalid number of arguments'); error('Invalid number of arguments');
help(); help();
exit(1); exit(1);

Loading…
Cancel
Save