Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,16 @@ struct Args {
#[clap(short, long, parse(from_occurrences), global = true)]
verbose: u8,

/// Paths to TOML files specifying linters. Configs are merged, with later files overriding earlier ones.
/// Except for the first, all files are optional, with missing ones triggering a warning.
/// Paths to TOML files specifying linters, separated by commas.
/// Configs are merged, with later files overriding earlier ones.
/// Except for the first path, files don't have to exist, but missing ones will trigger a warning.
/// Relative paths are interpreted with respect to the first config file.
#[clap(
long,
global = true,
alias = "config",
multiple = true,
default_value = ".lintrunner.toml, .lintrunner.private.toml"
default_value = ".lintrunner.toml, .lintrunner.private.toml, .config/lintrunner.toml, .config/lintrunner.private.toml"
)]
configs: String,

Expand Down