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>
tokarchuk/v1.17
John Olheiser 6 years ago committed by zeripath
parent caba2829ef
commit e255df83a6
  1. 2
      cmd/dump.go
  2. 2
      docs/content/doc/usage/command-line.en-us.md

@ -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{

@ -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