Skip to content

Commit 25dd8d9

Browse files
authored
Improve the dispatch help text (#142)
1 parent e4be05e commit 25dd8d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmd/mint/dispatch.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,13 @@ var (
110110
)
111111

112112
func init() {
113-
dispatchCmd.Flags().StringArrayVar(&DispatchParams, "param", []string{}, "dispatch params for the run, available in the `event.dispatch.params` context. Can be specified multiple times")
113+
dispatchCmd.Flags().StringArrayVar(&DispatchParams, "param", []string{}, "dispatch params for the run in form `key=value`, available in the `event.dispatch.params` context. Can be specified multiple times")
114114
dispatchCmd.Flags().StringVar(&DispatchRef, "ref", "", "the git ref to use for the run")
115115
dispatchCmd.Flags().BoolVar(&DispatchOpen, "open", false, "open the run in a browser")
116116
dispatchCmd.Flags().BoolVar(&DispatchDebug, "debug", false, "start a remote debugging session once a breakpoint is hit")
117117
dispatchCmd.Flags().StringVar(&DispatchTitle, "title", "", "the title the UI will display for the Mint run")
118118
dispatchCmd.Flags().BoolVar(&DispatchJson, "json", false, "output json data to stdout")
119+
dispatchCmd.Flags().SortFlags = false
119120
}
120121

121122
// ParseParams converts a list of `key=value` pairs to a map.

0 commit comments

Comments
 (0)