this repo has no description smallweb.run
smallweb
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

Less confusing logs (#54)

authored by

Taras Glek and committed by
GitHub
800b93c6 f4c16a5b

+2 -2
+2 -2
cmd/logs.go
··· 266 266 cmd.Flags().StringVar(&flags.template, "template", "", "output logs using a Go template") 267 267 cmd.Flags().StringVar(&flags.remote, "remote", "", "ssh remote") 268 268 _ = cmd.RegisterFlagCompletionFunc("app", completeApp) 269 - cmd.Flags().StringVar(&flags.logType, "type", "http", "log type") 269 + cmd.Flags().StringVar(&flags.logType, "type", "http", "log type (http, console)") 270 270 _ = cmd.RegisterFlagCompletionFunc("type", cobra.FixedCompletions([]string{"http", "console"}, cobra.ShellCompDirectiveNoFileComp)) 271 - cmd.Flags().BoolVar(&flags.all, "all", false, "show all logs") 271 + cmd.Flags().BoolVar(&flags.all, "all", false, "show logs for all apps") 272 272 273 273 return cmd 274 274 }