From 41ad0436ad13674239f51eb3275de8fc23ed984c Mon Sep 17 00:00:00 2001 From: sharpshark28 Date: Sat, 21 Jan 2017 19:33:10 -0600 Subject: [PATCH] Alias and description for path param --- blabber.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/blabber.js b/blabber.js index 7b36c29..c96810d 100755 --- a/blabber.js +++ b/blabber.js @@ -6,7 +6,11 @@ const path = require('path'); const prompt = require('prompt'); const argv = require('yargs') .usage('Usage: blabber [options]') -.option('path') +.option('path', { + aliases: 'p', + desc: 'Specify a place to save the comic.' +}) +.alias('help', 'h') .help() .version() .wrap(process.stdout.columns)