aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Olheiser <42128690+jolheiser@users.noreply.github.com>2019-05-01 15:36:09 -0500
committerzeripath <art27@cantab.net>2019-05-01 21:36:09 +0100
commite255df83a66c65cc5d06bf5a915c502197141b58 (patch)
tree247635c9008bc572b979b6604a0a40d7ac28a49a
parentcaba2829ef3c6a49385da64c7c8dff348734ce67 (diff)
downloadgitea-e255df83a66c65cc5d06bf5a915c502197141b58.tar.gz
gitea-e255df83a66c65cc5d06bf5a915c502197141b58.zip
Change verbose flag in dump command to avoid colliding with global version flag (#6822)
* Change verbose flag to avoid colliding with version flag * Update docs Signed-off-by: jolheiser <john.olheiser@gmail.com>
-rw-r--r--cmd/dump.go2
-rw-r--r--docs/content/doc/usage/command-line.en-us.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dump.go b/cmd/dump.go
index a9e83f36d9..dd1123a254 100644
--- a/cmd/dump.go
+++ b/cmd/dump.go
@@ -36,7 +36,7 @@ It can be used for backup and capture Gitea server image to send to maintainer`,
Usage: "Name of the dump file which will be created.",
},
cli.BoolFlag{
- Name: "verbose, v",
+ Name: "verbose, V",
Usage: "Show process details",
},
cli.StringFlag{
diff --git a/docs/content/doc/usage/command-line.en-us.md b/docs/content/doc/usage/command-line.en-us.md
index 342af930a9..021283f9cc 100644
--- a/docs/content/doc/usage/command-line.en-us.md
+++ b/docs/content/doc/usage/command-line.en-us.md
@@ -147,7 +147,7 @@ in the current directory.
- `--tempdir path`, `-t path`: Path to the temporary directory used. Optional. (default: /tmp).
- `--skip-repository`, `-R`: Skip the repository dumping. Optional.
- `--database`, `-d`: Specify the database SQL syntax. Optional.
- - `--verbose`, `-v`: If provided, shows additional details. Optional.
+ - `--verbose`, `-V`: If provided, shows additional details. Optional.
- Examples:
- `gitea dump`
- `gitea dump --verbose`