diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -145,6 +145,9 @@ pub fn main() !void { | |||
| 145 | var res = clap.parse(clap.Help, ¶ms, parsers, .{ | 145 | var res = clap.parse(clap.Help, ¶ms, parsers, .{ |
| 146 | .diagnostic = &diag, | 146 | .diagnostic = &diag, |
| 147 | .allocator = gpa.allocator(), | 147 | .allocator = gpa.allocator(), |
| 148 | // The assignment separator can be configured. `--number=1` and `--number:1` is now | ||
| 149 | // allowed. | ||
| 150 | .assignment_separators = "=:", | ||
| 148 | }) catch |err| { | 151 | }) catch |err| { |
| 149 | diag.report(io.getStdErr().writer(), err) catch {}; | 152 | diag.report(io.getStdErr().writer(), err) catch {}; |
| 150 | return err; | 153 | return err; |