Skip to content

Commit

Permalink
Add support for CLI help via -h (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazylol authored Oct 20, 2024
1 parent 3cea28e commit ab67f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/pipes-rs/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ fn parse_args(config: &mut Config) {
process::exit(0);
}

"--help" => {
"--help" | "-h" => {
println!("{}", include_str!("usage"));
process::exit(0);
}
Expand Down

0 comments on commit ab67f68

Please sign in to comment.