diff --git a/src/executables/uber.js b/src/executables/uber.js index 5d1c1aa..f74d185 100644 --- a/src/executables/uber.js +++ b/src/executables/uber.js @@ -8,4 +8,9 @@ program.version(pkg.version) .description('Figure out if you should order a car to pick you up and drive you to where you want to go') .command('price', 'get price estimate') .command('time', 'get time to pickup estimate') + .arguments('') + .action((cmd) => { + program.outputHelp(); + console.log(`\n Unknown command ${cmd}.`); + }) .parse(process.argv);