Skip to content

Commit

Permalink
use -v and update readme for version
Browse files Browse the repository at this point in the history
  • Loading branch information
tateexon committed Jun 24, 2024
1 parent cd93b1f commit b7bafe8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ Flags:
-m, --proxy-mode string Proxy mode, the options are all, missing or none (default "none")
-u, --proxy-url string The url where the proxy will redirect to
-s, --secure Run mock server using TLS (https)
-v, --version Version of Killgrave
--version Version of Killgrave
-w, --watcher File watcher will reload the server on each file change
-V, --verbose Print out more detailed logging
-v, --verbose Print out more detailed logging
-d, --dump-requests-path Print requests out to specified file
```

Expand Down
2 changes: 1 addition & 1 deletion internal/app/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func NewKillgraveCmd() *cobra.Command {
rootCmd.Flags().BoolP(_secureFlag, "s", false, "Run mock server using TLS (https)")
rootCmd.Flags().StringP(_proxyModeFlag, "m", _defaultProxyMode.String(), "Proxy mode, the options are all, missing or none")
rootCmd.Flags().StringP(_proxyURLFlag, "u", "", "The url where the proxy will redirect to")
rootCmd.Flags().BoolP(_verboseFlag, "V", false, "More verbose logging, adds request dumps to logs")
rootCmd.Flags().BoolP(_verboseFlag, "v", false, "More verbose logging, adds request dumps to logs")
rootCmd.Flags().StringP(_dumpRequestsPathFlag, "d", "", "Path the requests will be dumped to")

rootCmd.SetVersionTemplate("Killgrave version: {{.Version}}\n")
Expand Down

0 comments on commit b7bafe8

Please sign in to comment.