summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorBert Münnich <be.muennich@gmail.com>2013-08-22 12:59:05 +0200
committerBert Münnich <be.muennich@gmail.com>2013-08-22 12:59:05 +0200
commit26a624a543f2e723550996d76d90ccbb7b954aeb (patch)
tree8799c977b965656ccea3c9ec14c7ba00f0204a0f /options.c
parentfb6e4bdd980f72082a264894c12ed7e0650a5bf9 (diff)
downloadnsxiv-26a624a543f2e723550996d76d90ccbb7b954aeb.tar.zst
Added options for anti-alias & alpha layer coloring to config.def.h
Also removed now obsolete -p command line option; fixes issue #98
Diffstat (limited to 'options.c')
-rw-r--r--options.c8
1 files changed, 2 insertions, 6 deletions
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;