mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 01:04:43 +01:00
std.cli: remove / flag prefix
Signed-off-by: Pablo Alessandro Santos Hugen <phugen@redhat.com>
This commit is contained in:
parent
78cbcd21f1
commit
2dd7956105
1 changed files with 0 additions and 1 deletions
|
|
@ -251,7 +251,6 @@ inline fn flagName(arg: []const u8) ?[]const u8 {
|
|||
if (mem.startsWith(u8, arg, "--")) return arg[2..];
|
||||
|
||||
if (mem.startsWith(u8, arg, "-") or
|
||||
mem.startsWith(u8, arg, "/") or
|
||||
mem.startsWith(u8, arg, "+")) return arg[1..];
|
||||
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue