From 955e8542368c742cb61014274c82f7e55620dc5b Mon Sep 17 00:00:00 2001 From: Drew McArthur Date: Fri, 10 Nov 2017 12:54:23 +0100 Subject: [PATCH] added comment --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 1912de5..4c72633 100644 --- a/index.js +++ b/index.js @@ -49,6 +49,8 @@ const usageDefinition = [ } ] +// if --help is present or --zip wasn't defined, +// then display the help screen and exit the program. if (options['help'] || options['zip'] === undefined) { console.log(getUsage(usageDefinition)); process.exit();