Index: packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py =================================================================== --- packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py +++ packages/Python/lldbsuite/test/functionalities/abbreviation/TestCommonShortSpellings.py @@ -29,6 +29,7 @@ ('dis', 'disassemble'), ('ta st a', 'target stop-hook add'), ('fr v', 'frame variable'), + ('f 1', 'frame select 1'), ('ta st li', 'target stop-hook list'), ] Index: source/Commands/CommandObjectFrame.cpp =================================================================== --- source/Commands/CommandObjectFrame.cpp +++ source/Commands/CommandObjectFrame.cpp @@ -262,8 +262,10 @@ } else { - result.AppendError ("invalid arguments.\n"); + result.AppendErrorWithFormat ("too many arguments; expected frame-index, saw '%s'.\n", + command.GetArgumentAtIndex(0)); m_options.GenerateOptionUsage (result.GetErrorStream(), this); + return false; } }