Skip to content

Commit 20fb864

Browse files
committed
fix: quiet option
1 parent aa33b3a commit 20fb864

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,10 @@ async fn main() -> Result<()> {
156156
_ => "Invalid usage, follow '--help' for more information".to_owned()
157157
};
158158

159+
if args.quiet {
160+
return ().into_ok();
161+
}
162+
159163
if output.ends_with("\n\n") {
160164
print!("{}", &output[..output.len() - 1]);
161165
} else if output.ends_with('\n') {

0 commit comments

Comments
 (0)