|
@ -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); |
|
|