flag: remove println from parse_raw
parent
9861b24bc3
commit
3425934c39
|
@ -67,7 +67,6 @@ fn (flag &Flag) matches(args []string) bool {
|
||||||
|
|
||||||
fn (flag mut Flag) parse_raw(args []string) ?[]string {
|
fn (flag mut Flag) parse_raw(args []string) ?[]string {
|
||||||
if args[0].len > flag.name.len && args[0].contains('=') {
|
if args[0].len > flag.name.len && args[0].contains('=') {
|
||||||
println('1')
|
|
||||||
flag.value = args[0].split('=')[1]
|
flag.value = args[0].split('=')[1]
|
||||||
return args[1..]
|
return args[1..]
|
||||||
} else if args.len >= 2 {
|
} else if args.len >= 2 {
|
||||||
|
|
Loading…
Reference in New Issue