Browse Source

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>
for-closed-social
John Olheiser 5 years ago
committed by zeripath
parent
commit
e255df83a6
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      cmd/dump.go
  2. +1
    -1
      docs/content/doc/usage/command-line.en-us.md

+ 1
- 1
cmd/dump.go View File

@ -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.", Usage: "Name of the dump file which will be created.",
}, },
cli.BoolFlag{ cli.BoolFlag{
Name: "verbose, v",
Name: "verbose, V",
Usage: "Show process details", Usage: "Show process details",
}, },
cli.StringFlag{ cli.StringFlag{

+ 1
- 1
docs/content/doc/usage/command-line.en-us.md View File

@ -147,7 +147,7 @@ in the current directory.
- `--tempdir path`, `-t path`: Path to the temporary directory used. Optional. (default: /tmp). - `--tempdir path`, `-t path`: Path to the temporary directory used. Optional. (default: /tmp).
- `--skip-repository`, `-R`: Skip the repository dumping. Optional. - `--skip-repository`, `-R`: Skip the repository dumping. Optional.
- `--database`, `-d`: Specify the database SQL syntax. 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: - Examples:
- `gitea dump` - `gitea dump`
- `gitea dump --verbose` - `gitea dump --verbose`

Loading…
Cancel
Save