浏览代码

Renommage option remove en compress

Loquicom 5 年之前
父节点
当前提交
0fe798f410
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      deploy.js

+ 3 - 3
deploy.js

@@ -10,10 +10,10 @@ const deploy = require('./deploy.json');
 commander.version('1.2.0');
 commander
     .option('-z, --zip', 'create a zip file for each programs', false)
-    .option('-r, --remove', 'zip and deletes the non-zip version of programs', false);
+    .option('-c, --compress', 'zip and deletes the non-zip version of programs', false);
 commander.parse(process.argv);
-const zip = commander.zip || commander.remove;
-const remove = commander.remove;
+const zip = commander.zip || commander.compress;
+const remove = commander.compress;
 
 
 // Constante