kopia lustrzana https://github.com/c9/core
Merge pull request +11369 from c9/fix-completion
More small completion fixessmf-sdk
commit
fe14689b60
|
@ -55,7 +55,7 @@
|
|||
"c9"
|
||||
],
|
||||
"c9plugins": {
|
||||
"c9.ide.language": "#9374163ea5",
|
||||
"c9.ide.language": "#630462418b",
|
||||
"c9.ide.language.css": "#be07d72209",
|
||||
"c9.ide.language.generic": "#2b5cc6275e",
|
||||
"c9.ide.language.html": "#9be847c0ce",
|
||||
|
@ -63,7 +63,7 @@
|
|||
"c9.ide.language.javascript": "#1a0b1584c2",
|
||||
"c9.ide.language.javascript.immediate": "#c8b1e5767a",
|
||||
"c9.ide.language.javascript.eslint": "#586becb51d",
|
||||
"c9.ide.language.javascript.tern": "#b03b4dc50b",
|
||||
"c9.ide.language.javascript.tern": "#f9ba3813d7",
|
||||
"c9.ide.language.javascript.infer": "#001fe08ecb",
|
||||
"c9.ide.language.jsonalyzer": "#1454bd1ed7",
|
||||
"c9.ide.collab": "#10c224f9b8",
|
||||
|
|
|
@ -84,6 +84,7 @@ function main(argv, config, onLoaded) {
|
|||
.describe("domains", "Primary and any secondary top-level domains to use (e.g, c9.io,c9.dev)")
|
||||
.describe("exclude", "Exclude specified service")
|
||||
.describe("include", "Include only specified service")
|
||||
.describe("helpWithSudo", "Ask for sudo password on startup")
|
||||
.default("domains", inContainer && process.env.C9_HOSTNAME || process.env.C9_DOMAINS)
|
||||
.boolean("help")
|
||||
.describe("help", "Show command line options.");
|
||||
|
@ -107,7 +108,7 @@ function main(argv, config, onLoaded) {
|
|||
var delayed = expanded.filter(function(c) { return delayLoadConfigs.indexOf(c) !== -1 });
|
||||
var notDelayed = expanded.filter(function(c) { return delayLoadConfigs.indexOf(c) === -1 });
|
||||
|
||||
if (options.helpWithSudo)
|
||||
if (options.argv.helpWithSudo)
|
||||
return child_process.execFile("sudo", ["echo -n"], main.bind(null, argv.filter(function(a) {
|
||||
return a !== "--helpWithSudo";
|
||||
}), config, onLoaded));
|
||||
|
@ -204,4 +205,4 @@ function start(configName, options, callback) {
|
|||
plugin.name = name;
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue