Skip to content

Commit 3ec61ec

Browse files
committed
Use short help format (-h) when no arguments provided
Changed from --help to -h so the output matches what users see when they explicitly type 'sweepga -h'.
1 parent 11beab7 commit 3ec61ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ fn main() -> Result<()> {
13681368

13691369
// Show help if no arguments provided
13701370
if args.files.is_empty() {
1371-
Args::parse_from(&["sweepga", "--help"]);
1371+
Args::parse_from(&["sweepga", "-h"]);
13721372
}
13731373

13741374
let timing = TimingContext::new();

0 commit comments

Comments
 (0)