diff --git a/CHANGELOG.md b/CHANGELOG.md index b10bd01..8af41e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed +- An invalid reference in the command line arguments has been fixed. + + ## [0.19.0] - 2022-04-17 ### Added diff --git a/acmed/src/main.rs b/acmed/src/main.rs index 19cd9cb..e201b54 100644 --- a/acmed/src/main.rs +++ b/acmed/src/main.rs @@ -90,7 +90,7 @@ fn main() { Arg::new("to-stderr") .long("log-stderr") .help("Prints log messages to the standard error output") - .conflicts_with("log-syslog"), + .conflicts_with("to-syslog"), ) .arg( Arg::new("foreground") @@ -118,7 +118,7 @@ fn main() { match set_log_system( matches.value_of("log-level"), - matches.is_present("log-syslog"), + matches.is_present("to-syslog"), matches.is_present("to-stderr"), ) { Ok(_) => {} diff --git a/tacd/src/main.rs b/tacd/src/main.rs index 42c3b1d..2f68dfa 100644 --- a/tacd/src/main.rs +++ b/tacd/src/main.rs @@ -182,7 +182,7 @@ fn main() { match set_log_system( matches.value_of("log-level"), - matches.is_present("log-syslog"), + matches.is_present("to-syslog"), matches.is_present("to-stderr"), ) { Ok(_) => {}