Skip to content

Commit

Permalink
Merge pull request #846 from Yamato-Security/845-hayabusa-200-pre-rel…
Browse files Browse the repository at this point in the history
…ease-panics-on-no-color

fix: bug when no command and global options
  • Loading branch information
YamatoSecurity authored Dec 23, 2022
2 parents 8db0f7d + 5fd24f2 commit 86056a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ impl App {
}

// Show usage when no arguments.
if std::env::args().len() == 1
|| (stored_static.config.quiet && std::env::args().len() == 2)
{
if stored_static.config.action.is_none() {
if !stored_static.config.quiet {
self.output_logo(stored_static);
println!();
Expand Down

0 comments on commit 86056a9

Please sign in to comment.