| author | |
| committer | |
| log | 21a77f7ac35cc3404a1ed3cb03329aef1c980f30 |
| tree | c0d34e212e9ce257c6d5b6a24c79c0779c779451 |
| parent | e6bfa377d1144d95cbf42d340852d272044d03f2 |
| parent | 7b8cb002cb7e70c354def0486bff1e61df5c9c8a |
| signature |
Add -h alias for --help1 files changed, 1 insertions(+), 1 deletions(-)
src/main.zig+1-1| ... | ... | @@ -2075,7 +2075,7 @@ pub fn cmdInit( |
| 2075 | 2075 | while (i < args.len) : (i += 1) { |
| 2076 | 2076 | const arg = args[i]; |
| 2077 | 2077 | if (mem.startsWith(u8, arg, "-")) { |
| 2078 | if (mem.eql(u8, arg, "--help")) { | |
| 2078 | if (mem.eql(u8, arg, "-h") or mem.eql(u8, arg, "--help")) { | |
| 2079 | 2079 | try io.getStdOut().writeAll(usage_init); |
| 2080 | 2080 | return cleanExit(); |
| 2081 | 2081 | } else { |