Remove unnecessary SubStr call

This commit is contained in:
Gunnar Beutner 2015-03-02 13:30:37 +01:00
parent c426655c44
commit 7aaa6975fc
1 changed files with 1 additions and 1 deletions

View File

@ -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;