diff options
author | qwerty287 <80460567+qwerty287@users.noreply.github.com> | 2021-11-28 14:28:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-28 21:28:30 +0800 |
commit | b1df89095163d8ce3eecfeb855e7f03f17b473c4 (patch) | |
tree | 4f1d80e46f9a433c4b69d615a3c5be3bbfd36823 /docs/content/doc/advanced/cmd-embedded.en-us.md | |
parent | 1fee11d69a437ec7e68b3f6b645827592fe77292 (diff) | |
download | gitea-b1df89095163d8ce3eecfeb855e7f03f17b473c4.tar.gz gitea-b1df89095163d8ce3eecfeb855e7f03f17b473c4.zip |
Docs: replace `gitea` with `Gitea` (#17838)
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'docs/content/doc/advanced/cmd-embedded.en-us.md')
-rw-r--r-- | docs/content/doc/advanced/cmd-embedded.en-us.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/doc/advanced/cmd-embedded.en-us.md b/docs/content/doc/advanced/cmd-embedded.en-us.md index 3bd80d1348..b975b90d39 100644 --- a/docs/content/doc/advanced/cmd-embedded.en-us.md +++ b/docs/content/doc/advanced/cmd-embedded.en-us.md @@ -76,20 +76,20 @@ To extract resources embedded in Gitea's executable, use the following syntax: gitea [--config {file}] embedded extract [--destination {dir}|--custom] [--overwrite|--rename] [--include-vendored] {patterns...} ``` -The `--config` option tells gitea the location of the `app.ini` configuration file if +The `--config` option tells Gitea the location of the `app.ini` configuration file if it's not in its default location. This option is only used with the `--custom` flag. -The `--destination` option tells gitea the directory where the files must be extracted to. +The `--destination` option tells Gitea the directory where the files must be extracted to. The default is the current directory. -The `--custom` flag tells gitea to extract the files directly into the `custom` directory. +The `--custom` flag tells Gitea to extract the files directly into the `custom` directory. For this to work, the command needs to know the location of the `app.ini` configuration file (`--config`) and, depending of the configuration, be ran from the directory where gitea normally starts. See [Customizing Gitea]({{< relref "doc/advanced/customizing-gitea.en-us.md" >}}) for details. The `--overwrite` flag allows any existing files in the destination directory to be overwritten. -The `--rename` flag tells gitea to rename any existing files in the destination directory +The `--rename` flag tells Gitea to rename any existing files in the destination directory as `filename.bak`. Previous `.bak` files are overwritten. At least one file search pattern must be provided; see `list` subcomand above for pattern |