Skip to content

Commit

Permalink
Merge pull request #112 from it-a-me/main
Browse files Browse the repository at this point in the history
print help when the only argument is --directory
  • Loading branch information
ikeycode authored Dec 28, 2023
2 parents 3a78cab + e0e7988 commit 07a537c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/moss/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ pub async fn process() -> Result<(), Error> {
version::print();
Ok(())
}
None => {
command().print_help().unwrap();
Ok(())
}
_ => unreachable!(),
}
}
Expand Down

0 comments on commit 07a537c

Please sign in to comment.