Skip to content

Commit fca6890

Browse files
fix(cli): correct the --rules help text
The flag no longer replaces the whole database: the embedded protected rules are prepended, so a supplied file cannot shadow them. --help still promised the old behaviour, and it was the only place left saying so after the README row was fixed.
1 parent fc0378d commit fca6890

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/diskern-cli/src/main.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ enum Command {
2929
/// Only show findings with this verdict
3030
#[arg(long, value_enum)]
3131
verdict: Option<VerdictFilter>,
32-
/// Load rules from a JSON file instead of the embedded database
32+
/// Load rules from a JSON file; embedded protected rules still apply
3333
#[arg(long, value_name = "FILE")]
3434
rules: Option<PathBuf>,
3535
},

0 commit comments

Comments
 (0)