ok/jj
1
0
Fork 0
forked from mirrors/jj

cli docs: document that --config-toml can be repeated

This commit is contained in:
Ilya Grigoriev 2023-09-14 16:56:45 -07:00
parent 2177dc0657
commit 33087bcd90
2 changed files with 2 additions and 2 deletions

View file

@ -2292,7 +2292,7 @@ pub struct EarlyArgs {
// Parsing with ignore_errors will crash if this is bool, so use
// Option<bool>.
pub no_pager: Option<bool>,
/// Additional configuration options
/// Additional configuration options (can be repeated)
// TODO: Introduce a `--config` option with simpler syntax for simple
// cases, designed so that `--config ui.color=auto` works
#[arg(

View file

@ -430,7 +430,7 @@ fn test_help() {
-v, --verbose Enable verbose logging
--color <WHEN> When to colorize output (always, never, auto)
--no-pager Disable the pager
--config-toml <TOML> Additional configuration options
--config-toml <TOML> Additional configuration options (can be repeated)
"###);
}