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

pull/11529/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ pub fn args_after(cut_word string) []string {
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.
pub fn args_before(cut_word string) []string {
if args.len == 0 {