diff --git a/kitty/launcher/main.c b/kitty/launcher/main.c index 0fe7ba50d..582a72bf6 100644 --- a/kitty/launcher/main.c +++ b/kitty/launcher/main.c @@ -409,6 +409,7 @@ handle_option_value: char buf[2] = {0}; for (int i = 1; arg[i] != 0; i++) { switch(arg[i]) { + case '=': fprintf(stderr, "= is not allowed in short options, only long options. -d=xyz is illegal, --directory=xyz is legal. Use -d xyz instead.\n"); exit(1); break; case 'v': opts.version_requested = true; break; case '1': opts.single_instance = true; break; default: