mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 05:50:22 +00:00
Fix running commands
This commit is contained in:
parent
32e86dc699
commit
e09599aeae
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ require("./outdated");
|
|||
// See https://github.com/tj/commander.js/blob/fefda77f463292/index.js#L686-L763
|
||||
program.parse(argvWithoutOptions.args.concat(argvWithoutOptions.unknown));
|
||||
|
||||
if (!program.args.length) {
|
||||
if (program.rawArgs.length < 3) {
|
||||
program.help();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue