Skip to content

Commit

Permalink
Add note on how args are handled when -m is not specified
Browse files Browse the repository at this point in the history
  • Loading branch information
athos committed Aug 24, 2021
1 parent 6caf97b commit a215f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/trench/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var args = cmdArgs{
mainNS: kingpin.Flag("main", "Call the -main function for a namespace.").Short('m').PlaceHolder("NAMESPACE").String(),
initNS: kingpin.Flag("init-ns", "Initialize REPL with the specified namespace. Defaults to \"user\".").PlaceHolder("NAMESPACE").String(),
colorOption: kingpin.Flag("color", "When to use colors. Possible values: always, auto, none. Defaults to auto.").Default(COLOR_AUTO).Short('C').Enum(COLOR_NONE, COLOR_AUTO, COLOR_ALWAYS),
args: kingpin.Arg("args", "Arguments to pass to -main.").Strings(),
args: kingpin.Arg("args", "Arguments to pass to -main. These will be ignored unless -m is specified.").Strings(),
}

func colorized(colorOption string) bool {
Expand Down

0 comments on commit a215f7f

Please sign in to comment.