Skip to content

Commit

Permalink
fix: -h exits with code zero
Browse files Browse the repository at this point in the history
  • Loading branch information
robbielyman committed Oct 4, 2023
1 parent 62baf7e commit 9565fc8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/args.zig
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ pub fn parse(location: []const u8) !?CreateOptions {
continue;
}
},
'h' => {
try print_usage();
std.process.exit(0);
},
else => {
break;
},
Expand Down

0 comments on commit 9565fc8

Please sign in to comment.