os: fix documentation typo in args.v (#11526)
parent
92bb292113
commit
816c6c62b5
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue