We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 130a981 commit fa7033cCopy full SHA for fa7033c
1 file changed
src/error.rs
@@ -1,6 +1,10 @@
1
use std::process::exit;
2
3
pub fn invalid(cause: &str) {
4
- eprintln!("invalid {}. get help by running `conf set --help`", cause);
+ eprintln!(
5
+ "invalid {}. get help by running `{} --help`",
6
+ cause,
7
+ env!("CARGO_PKG_NAME")
8
+ );
9
exit(1);
10
}
0 commit comments