mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Remove unnecessary SubStr call
This commit is contained in:
parent
c426655c44
commit
7aaa6975fc
@ -328,7 +328,7 @@ void CLICommand::ShowCommands(int argc, char **argv, po::options_description *vi
|
||||
pword = "";
|
||||
} else if (aword.GetLength() > 1 && aword[0] == '-' && aword[1] != '-') {
|
||||
aname = aword.SubStr(0, 2);
|
||||
prefix = aword.SubStr(0, 2);
|
||||
prefix = aname;
|
||||
pword = aword.SubStr(2);
|
||||
} else {
|
||||
goto complete_option;
|
||||
|
Loading…
x
Reference in New Issue
Block a user