1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

flag: remove println from parse_raw

This commit is contained in:
Krzysztof Starzyk 2020-01-07 18:37:01 +01:00 committed by Alexander Medvednikov
parent 9861b24bc3
commit 3425934c39

View File

@ -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 {