mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 18:57:18 +08:00 
			
		
		
		
	doc/cli: fix clear-checkpoint command typo
This commit is contained in:
		| @ -84,7 +84,7 @@ Deletes breakpoint. | |||||||
| ## clear-checkpoint | ## clear-checkpoint | ||||||
| Deletes checkpoint. | Deletes checkpoint. | ||||||
| 			 | 			 | ||||||
| 	checkpoint <id> | 	clear-checkpoint <id> | ||||||
|  |  | ||||||
| Aliases: clearcheck | Aliases: clearcheck | ||||||
|  |  | ||||||
| @ -190,6 +190,8 @@ Print local variables. | |||||||
|  |  | ||||||
| 	[goroutine <n>] [frame <m>] locals [-v] [<regex>] | 	[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. | 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. | ||||||
|  |  | ||||||
|  |  | ||||||
|  | |||||||
| @ -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. | 		{aliases: []string{"locals"}, allowedPrefixes: scopePrefix | onPrefix, cmdFn: locals, helpMsg: `Print local variables. | ||||||
|  |  | ||||||
| 	[goroutine <n>] [frame <m>] locals [-v] [<regex>] | 	[goroutine <n>] [frame <m>] locals [-v] [<regex>] | ||||||
| 	 |  | ||||||
| The name of variables that are shadowed in the current scope will be shown in parenthesis. | 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.`}, | 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.`}, | ||||||
| @ -243,7 +243,7 @@ Specifies that the breakpoint or tracepoint should break only if the boolean exp | |||||||
| 			cmdFn:   clearCheckpoint, | 			cmdFn:   clearCheckpoint, | ||||||
| 			helpMsg: `Deletes checkpoint. | 			helpMsg: `Deletes checkpoint. | ||||||
| 			 | 			 | ||||||
| 	checkpoint <id>`, | 	clear-checkpoint <id>`, | ||||||
| 		}) | 		}) | ||||||
| 		for i := range c.cmds { | 		for i := range c.cmds { | ||||||
| 			v := &c.cmds[i] | 			v := &c.cmds[i] | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Tao Zhou
					Tao Zhou