Remove dup [flags] output for trace subcommand

When running `dlv help trace` the help output would display:

dlv trace [regexp] [flags] [flags]

This patch removes the [flags] duplication.
This commit is contained in:
Derek Parker 2015-08-05 13:20:39 -05:00
parent af55ef3522
commit e940fa1274

@ -87,7 +87,7 @@ starts and attaches to it, and enables you to immediately begin debugging your p
// 'trace' subcommand. // 'trace' subcommand.
var traceAttachPid int var traceAttachPid int
traceCommand := &cobra.Command{ traceCommand := &cobra.Command{
Use: "trace [regexp] [flags]", Use: "trace [regexp]",
Short: "Compile and begin tracing program.", Short: "Compile and begin tracing program.",
Long: "Trace program execution. Will set a tracepoint on every function matching [regexp] and output information when tracepoint is hit.", Long: "Trace program execution. Will set a tracepoint on every function matching [regexp] and output information when tracepoint is hit.",
Run: func(cmd *cobra.Command, args []string) { Run: func(cmd *cobra.Command, args []string) {