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

flag: switch panics to optionals (#11515)

This commit is contained in:
JalonSolov
2021-09-16 12:25:05 -04:00
committed by GitHub
parent 0a18690a4f
commit 1688148828
8 changed files with 26 additions and 26 deletions

View File

@@ -46,7 +46,7 @@ fn main() {
for hf in hfields.split(',') {
mhf.names[hf] = true
}
fp.limit_free_args_to_at_least(1)
fp.limit_free_args_to_at_least(1) ?
rest_of_args := fp.remaining_parameters()
for vfile in rest_of_args {
file := get_abs_path(vfile)