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

flag: fix a typo

This commit is contained in:
pancake 2020-05-26 14:27:01 +02:00 committed by GitHub
parent 2b27072fac
commit 8d10adf886
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,7 +329,7 @@ pub fn (mut fs FlagParser) float(name string, abbr byte, fdefault f64, usage str
// string_multi returns all instances of values associated with the flags provided // string_multi returns all instances of values associated with the flags provided
// In the case that none were found, it returns an empty array. // In the case that none were found, it returns an empty array.
pub fn (mut fs FlagParser) string_multi(name string, abbr byte, usage string) []string { pub fn (mut fs FlagParser) string_multi(name string, abbr byte, usage string) []string {
fs.add_flag(name, abbr, usage, '<multiple floats>') fs.add_flag(name, abbr, usage, '<multiple strings>')
return fs.parse_value(name, abbr) return fs.parse_value(name, abbr)
} }