mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +08:00
Fix order of arguments for target stop-hook list/delete. Having
the argument description in the command name could cause a command alias to crash, e.g. command alias zzz target stop-hook delete 1 because the "name" is used to re-fetch the exact CommandObject when adding the final arg. <rdar://problem/10423753> llvm-svn: 144330
This commit is contained in:
@@ -3830,9 +3830,9 @@ public:
|
||||
|
||||
CommandObjectTargetStopHookDelete (CommandInterpreter &interpreter) :
|
||||
CommandObject (interpreter,
|
||||
"target stop-hook delete [<id>]",
|
||||
"target stop-hook delete",
|
||||
"Delete a stop-hook.",
|
||||
"target stop-hook delete")
|
||||
"target stop-hook delete [<idx>]")
|
||||
{
|
||||
}
|
||||
|
||||
@@ -3976,9 +3976,9 @@ public:
|
||||
|
||||
CommandObjectTargetStopHookList (CommandInterpreter &interpreter) :
|
||||
CommandObject (interpreter,
|
||||
"target stop-hook list [<type>]",
|
||||
"target stop-hook list",
|
||||
"List all stop-hooks.",
|
||||
"target stop-hook list")
|
||||
"target stop-hook list [<type>]")
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user