mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 07:28:21 +08:00
Illegal->Unknown and show usage on wrong options
Reviewed-by: axis
This commit is contained in:
@@ -96,7 +96,9 @@ while (@ARGV) {
|
||||
} elsif ($arg eq "-no-update") {
|
||||
$no_update = 1;
|
||||
} else {
|
||||
die("Illegal argument: $arg");
|
||||
print("*** Unknown option: $arg\n");
|
||||
printUsage();
|
||||
exit(1);
|
||||
}
|
||||
shift;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user