processes() improved command parsing
This commit is contained in:
parent
fdcf9c707e
commit
28fa676df8
@ -596,6 +596,7 @@ function processes(callback) {
|
|||||||
} else {
|
} else {
|
||||||
if (p4 > 0) {
|
if (p4 > 0) {
|
||||||
command = fullcommand.split(' ')[0];
|
command = fullcommand.split(' ')[0];
|
||||||
|
command = command.replace(/:/g, '');
|
||||||
} else {
|
} else {
|
||||||
// try to figure out where parameter starts
|
// try to figure out where parameter starts
|
||||||
let firstParamPos = fullcommand.indexOf(' -');
|
let firstParamPos = fullcommand.indexOf(' -');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user