Skip to content

Commit 4b6a0d9

Browse files
committed
Handle bpb with no args
1 parent 43577e0 commit 4b6a0d9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

bpb/src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ fn main() -> Result<(), Error> {
8181
}
8282
Some("--help") => print_help_message(),
8383
Some(arg) if gpg_sign_arg(arg) => verify_commit(),
84+
None => {
85+
print_help_message()?;
86+
std::process::exit(3)
87+
},
8488
_ => {
8589
if args.any(|arg| gpg_sign_arg(&arg)) {
8690
verify_commit()

0 commit comments

Comments
 (0)