From 26a624a543f2e723550996d76d90ccbb7b954aeb Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Thu, 22 Aug 2013 12:59:05 +0200 Subject: Added options for anti-alias & alpha layer coloring to config.def.h Also removed now obsolete -p command line option; fixes issue #98 --- options.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'options.c') diff --git a/options.c b/options.c index 2d35992..e47ad37 100644 --- a/options.c +++ b/options.c @@ -33,7 +33,7 @@ const options_t *options = (const options_t*) &_options; void print_usage(void) { - printf("usage: sxiv [-bcdFfhiopqrstvZ] [-g GEOMETRY] [-n NUM] " + printf("usage: sxiv [-bcdFfhioqrstvZ] [-g GEOMETRY] [-n NUM] " "[-N name] [-z ZOOM] FILES...\n"); } @@ -53,7 +53,6 @@ void parse_options(int argc, char **argv) _options.scalemode = SCALE_MODE; _options.zoom = 1.0; - _options.aa = true; _options.fixed_win = false; _options.fullscreen = false; @@ -65,7 +64,7 @@ void parse_options(int argc, char **argv) _options.thumb_mode = false; _options.clean_cache = false; - while ((opt = getopt(argc, argv, "bcdFfg:hin:N:opqrstvZz:")) != -1) { + while ((opt = getopt(argc, argv, "bcdFfg:hin:N:oqrstvZz:")) != -1) { switch (opt) { case '?': print_usage(); @@ -109,9 +108,6 @@ void parse_options(int argc, char **argv) case 'o': _options.to_stdout = true; break; - case 'p': - _options.aa = false; - break; case 'q': _options.quiet = true; break; -- cgit v1.2.3-54-g00ecf