From e255df83a66c65cc5d06bf5a915c502197141b58 Mon Sep 17 00:00:00 2001 From: John Olheiser <42128690+jolheiser@users.noreply.github.com> Date: Wed, 1 May 2019 15:36:09 -0500 Subject: [PATCH] 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 --- cmd/dump.go | 2 +- docs/content/doc/usage/command-line.en-us.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/dump.go b/cmd/dump.go index a9e83f36d..dd1123a25 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 342af930a..021283f9c 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`