summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorglaszig <glaszig@gmail.com>2019-04-01 01:31:37 -0300
committertechknowlogick <matti@mdranta.net>2019-04-01 00:31:37 -0400
commitdbba46c2161c673b7818b6602ea2fb4efffe224e (patch)
treec11114797f72af49834bb4c5d35c782bb5195940 /docs
parent2e1ead8054ae0dfbff44d6d7e0de56c72cbdfcf1 (diff)
downloadgitea-dbba46c2161c673b7818b6602ea2fb4efffe224e.tar.gz
gitea-dbba46c2161c673b7818b6602ea2fb4efffe224e.zip
support custom file name in `gitea dump` command (#6474)
* support custom file name in `gitea dump` command * simpler approach to handle default dump file name in `gitea dump` command
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/usage/command-line.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/content/doc/usage/command-line.md b/docs/content/doc/usage/command-line.md
index 2e47b752ef..510e90f954 100644
--- a/docs/content/doc/usage/command-line.md
+++ b/docs/content/doc/usage/command-line.md
@@ -148,6 +148,7 @@ in the current directory.
- Options:
- `--config path`, `-c path`: Gitea configuration file path. Optional. (default: custom/conf/app.ini).
+ - `--file name`, `-f name`: Name of the dump file with will be created. Optional. (default: gitea-dump-[timestamp].zip).
- `--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.