Skip to content

Commit

Permalink
cli docs: document that --config-toml can be repeated
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyagr committed Sep 15, 2023
1 parent 2177dc0 commit 33087bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/src/cli_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion cli/tests/test_global_opts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
"###);
}

Expand Down

0 comments on commit 33087bc

Please sign in to comment.