Update --user-path error message

Co-authored-by: Lion <development@kortlepel.com>
This commit is contained in:
Tixx 2025-04-26 18:46:15 +02:00 committed by GitHub
parent f9d347bd9b
commit ca93effb7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,7 +88,7 @@ void InitOptions(int argc, const char *argv[], Options &options) {
options.no_update = true; options.no_update = true;
} else if (argument == "--user-path") { } else if (argument == "--user-path") {
if (i + 1 >= argc) { if (i + 1 >= argc) {
error("No user path specified after flag"); error("You must specify a path after the `--user-path` argument");
} }
options.user_path = argv[i + 1]; options.user_path = argv[i + 1];
i++; i++;