More consistent missing-input error messages

This commit is contained in:
Rangi42
2025-08-05 11:22:58 -04:00
parent 26c6911c8f
commit 2d5f4d8910
4 changed files with 4 additions and 5 deletions

View File

@@ -507,7 +507,7 @@ int main(int argc, char *argv[]) {
verboseOutputConfig(argc, argv);
if (argc == musl_optind) {
usage.printAndExit("Please specify an input file (pass `-` to read from standard input)");
usage.printAndExit("No input file specified (pass `-` to read from standard input)");
} else if (argc != musl_optind + 1) {
usage.printAndExit("More than one input file specified");
}