1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
This commit is contained in:
Alexander Medvednikov 2019-11-14 23:33:35 +03:00
parent 2dcb8b3bb0
commit 2545e1c22c

View File

@ -26,7 +26,7 @@ fn main() {
// so its first argument is the path to the v frontend executable.
args := os.args // args are: vpm vexepath SUBCOMMAND module names
if args.len < 3 {
vpm_help([]string)
vpm_help([])
exit(5)
}
vpm_command := args[2]