Skip to content

Commit

Permalink
cli: clarify docstring for web-mode flag (#3711)
Browse files Browse the repository at this point in the history
  • Loading branch information
Maia McCormick committed Aug 20, 2020
1 parent 0c785c6 commit 595c56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ func addStartServerFlags(cmd *cobra.Command) {

func addDevServerFlags(cmd *cobra.Command) {
cmd.Flags().IntVar(&webDevPort, "webdev-port", DefaultWebDevPort, "Port for the Tilt Dev Webpack server. Only applies when using --web-mode=local")
cmd.Flags().Var(&webModeFlag, "web-mode", "Values: local, prod. Controls whether to use prod assets or a local dev server")
cmd.Flags().Var(&webModeFlag, "web-mode", "Values: local, prod. Controls whether to use prod assets or a local dev server. (If flag not specified: if Tilt was built from source, it will use a local asset server; otherwise, prod assets.)")
}

0 comments on commit 595c56b

Please sign in to comment.