Skip to content

Commit

Permalink
doc/cli: fix clear-checkpoint command typo
Browse files Browse the repository at this point in the history
  • Loading branch information
iamzhout authored and derekparker committed Aug 7, 2017
1 parent 7214ffe commit fead9fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Documentation/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Deletes breakpoint.
## clear-checkpoint
Deletes checkpoint.

checkpoint <id>
clear-checkpoint <id>

Aliases: clearcheck

Expand Down Expand Up @@ -190,6 +190,8 @@ Print local variables.

[goroutine <n>] [frame <m>] locals [-v] [<regex>]

The name of variables that are shadowed in the current scope will be shown in parenthesis.

If regex is specified only local variables with a name matching it will be returned. If -v is specified more information about each local variable will be shown.


Expand Down
4 changes: 2 additions & 2 deletions pkg/terminal/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ If regex is specified only function arguments with a name matching it will be re
{aliases: []string{"locals"}, allowedPrefixes: scopePrefix | onPrefix, cmdFn: locals, helpMsg: `Print local variables.
[goroutine <n>] [frame <m>] locals [-v] [<regex>]
The name of variables that are shadowed in the current scope will be shown in parenthesis.
If regex is specified only local variables with a name matching it will be returned. If -v is specified more information about each local variable will be shown.`},
Expand Down Expand Up @@ -243,7 +243,7 @@ Specifies that the breakpoint or tracepoint should break only if the boolean exp
cmdFn: clearCheckpoint,
helpMsg: `Deletes checkpoint.
checkpoint <id>`,
clear-checkpoint <id>`,
})
for i := range c.cmds {
v := &c.cmds[i]
Expand Down

0 comments on commit fead9fe

Please sign in to comment.