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:
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
Block a user