kopia lustrzana https://github.com/c9/core
A proper fix for help
rodzic
d8d798d6da
commit
608a86c05c
|
@ -77,7 +77,8 @@ define(function(require, exports, module) {
|
||||||
argv = optimist
|
argv = optimist
|
||||||
.usage("The Cloud9 CLI.\nUsage: c9 " + module + " [--help] " + def.usage)
|
.usage("The Cloud9 CLI.\nUsage: c9 " + module + " [--help] " + def.usage)
|
||||||
.options(def.options);
|
.options(def.options);
|
||||||
if (argv.help)
|
|
||||||
|
if (argv.argv.help)
|
||||||
argv = argv.check(function(){
|
argv = argv.check(function(){
|
||||||
if (argv.help)
|
if (argv.help)
|
||||||
throw new Error("Help Requested");
|
throw new Error("Help Requested");
|
||||||
|
|
Ładowanie…
Reference in New Issue