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

os: fix documentation typo in args.v (#11526)

This commit is contained in:
czkz 2021-09-17 20:55:16 +03:00 committed by GitHub
parent 92bb292113
commit 816c6c62b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ pub fn args_after(cut_word string) []string {
return cargs return cargs
} }
// args_after returns all os.args, located *before* a specified `cut_word`. // args_before returns all os.args, located *before* a specified `cut_word`.
// When `cut_word` is NOT found, os.args is returned unmodified. // When `cut_word` is NOT found, os.args is returned unmodified.
pub fn args_before(cut_word string) []string { pub fn args_before(cut_word string) []string {
if args.len == 0 { if args.len == 0 {