aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-04-04 01:47:19 +0200
committerdec05eba <dec05eba@protonmail.com>2025-04-04 01:47:19 +0200
commit0deb41afe1b6a7a049d3ceb723202ff90906d7f3 (patch)
tree519c5d11691566e52ce7cfe8213740681ea46989
parent752e773fb729b3dc2c4afbfbb7523d065f07db06 (diff)
Correct error message for preset
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8c53c44..21f99bb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3859,7 +3859,7 @@ int main(int argc, char **argv) {
const char *preset_str = args["-preset"].value();
if(preset_str) {
if(!validate_preset(preset_str)) {
- fprintf(stderr, "Error: -preset should either be 'p0', 'p1', 'p2', 'p3', 'p4', 'p5', 'p6' or 'p7', got: '%s'\n", preset_str);
+ fprintf(stderr, "Error: -preset should either be 'p1', 'p2', 'p3', 'p4', 'p5', 'p6' or 'p7', got: '%s'\n", preset_str);
usage();
}
}