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

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

2
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`

Loading…
Cancel
Save