Krolyxon
Commit cc9b24f

Branches

Refs →

nsxivcc9b24f

remove deprecated -T flag

Author
NRK
Date
2023-01-15 15:27 +0600
Committer
NRK · 2023-01-28 16:29 +0600
Parent
a051ad2
Commit
cc9b24f36bc2cabb6c16bce5f4ae8853799ccc6a

+0 −17

1 file changed

  1. M options.c +0 −17
M options.c View
@@ -46,19 +46,6 @@ void print_usage(void)
4646 "[-z ZOOM] FILES...\n", progname);
4747 }
4848
49−static void title_deprecation_notice(void)
50−{
51− error(EXIT_FAILURE, 0, "\n"
52− "################################################################\n"
53− "# DEPRECATION NOTICE #\n"
54− "################################################################\n"
55− "# `-T` option has been deprecated in favour of `win-title`. #\n"
56− "# Please read the `WINDOW TITLE` section of the manpage for #\n"
57− "# more info. #\n"
58− "################################################################"
59− );
60−}
61−
6249 static void print_version(void)
6350 {
6451 printf("%s %s\n", progname, VERSION);
@@ -93,7 +80,6 @@ void parse_options(int argc, char **argv)
9380 { "recursive", 'r', OPTPARSE_NONE },
9481 { "ss-delay", 'S', OPTPARSE_REQUIRED },
9582 { "scale-mode", 's', OPTPARSE_REQUIRED },
96− { NULL, 'T', OPTPARSE_REQUIRED },
9783 { "thumbnail", 't', OPTPARSE_NONE },
9884 { "version", 'v', OPTPARSE_NONE },
9985 { "zoom-100", 'Z', OPTPARSE_NONE },
@@ -226,9 +212,6 @@ void parse_options(int argc, char **argv)
226212 error(EXIT_FAILURE, 0, "Invalid scale mode: %s", op.optarg);
227213 _options.scalemode = s - scalemodes;
228214 break;
229− case 'T':
230− title_deprecation_notice(); /* TODO(v31): remove this option */
231− break;
232215 case 't':
233216 _options.thumb_mode = true;
234217 break;