mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Don't default to the open command
This commit is contained in:
parent
e4e6774e2c
commit
c0596d9bda
@ -29,11 +29,6 @@ define(function(require, exports, module) {
|
||||
return false;
|
||||
});
|
||||
|
||||
if (!commands[module] && process.argv.length > 2 && process.argv.every(function(n){ return !n.match(/^--/)})) {
|
||||
process.argv.splice(2, 0, "open");
|
||||
module = "open";
|
||||
}
|
||||
|
||||
optimist = require('optimist');
|
||||
|
||||
if (!module || !commands[module]) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user