aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2023-01-15 10:27:13 +0100
committerNRK <nrk@disroot.org>2023-01-28 11:29:36 +0100
commitcc9b24f36bc2cabb6c16bce5f4ae8853799ccc6a (patch)
treec2ac475df4486342636f2cd309db3f56a0beb478
parenta051ad210dc0571ec581c89171dc25b9ab35f4be (diff)
downloadnsxiv-cc9b24f36bc2cabb6c16bce5f4ae8853799ccc6a.tar.zst
remove deprecated -T flag
-rw-r--r--options.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/options.c b/options.c
index a306e3d..6231d03 100644
--- a/options.c
+++ b/options.c
@@ -46,19 +46,6 @@ void print_usage(void)
"[-z ZOOM] FILES...\n", progname);
}
-static void title_deprecation_notice(void)
-{
- error(EXIT_FAILURE, 0, "\n"
- "################################################################\n"
- "# DEPRECATION NOTICE #\n"
- "################################################################\n"
- "# `-T` option has been deprecated in favour of `win-title`. #\n"
- "# Please read the `WINDOW TITLE` section of the manpage for #\n"
- "# more info. #\n"
- "################################################################"
- );
-}
-
static void print_version(void)
{
printf("%s %s\n", progname, VERSION);
@@ -93,7 +80,6 @@ void parse_options(int argc, char **argv)
{ "recursive", 'r', OPTPARSE_NONE },
{ "ss-delay", 'S', OPTPARSE_REQUIRED },
{ "scale-mode", 's', OPTPARSE_REQUIRED },
- { NULL, 'T', OPTPARSE_REQUIRED },
{ "thumbnail", 't', OPTPARSE_NONE },
{ "version", 'v', OPTPARSE_NONE },
{ "zoom-100", 'Z', OPTPARSE_NONE },
@@ -226,9 +212,6 @@ void parse_options(int argc, char **argv)
error(EXIT_FAILURE, 0, "Invalid scale mode: %s", op.optarg);
_options.scalemode = s - scalemodes;
break;
- case 'T':
- title_deprecation_notice(); /* TODO(v31): remove this option */
- break;
case 't':
_options.thumb_mode = true;
break;