Document the --generate-config-file option

This commit is contained in:
Josh Mickley 2020-03-25 22:05:01 -04:00 committed by David Peter
parent 40a827ebcb
commit 7c50fe5fec
1 changed files with 5 additions and 0 deletions

View File

@ -485,6 +485,11 @@ non-default location of the configuration file:
export BAT_CONFIG_PATH="/path/to/bat.conf"
```
A default configuration file can be created with the `--generate-config-file` option.
```bash
bat --generate-config-file
```
### Format
The configuration file is a simple list of command line arguments. Use `bat --help` to see a full list of possible options and values. In addition, you can add comments by prepending a line with the `#` character.