summaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-04-11 17:01:33 +0200
committerBert <ber.t@gmx.com>2011-04-11 17:01:33 +0200
commitf4b9bc9a1d569041aab3bfc07ebc53d35e1fff0f (patch)
treefe90b4bd00c4fe30f32486273a60495ac8707b8f /options.c
parentd15264ea3213a56113952d16b042fd4fb249da6d (diff)
downloadnsxiv-f4b9bc9a1d569041aab3bfc07ebc53d35e1fff0f.tar.zst
Removed option -a
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 8105485..5e0bce7 100644
--- a/options.c
+++ b/options.c
@@ -31,7 +31,7 @@ options_t _options;
const options_t *options = (const options_t*) &_options;
void print_usage() {
- printf("usage: sxiv [-aCdFfhpqrstvZ] [-g GEOMETRY] [-z ZOOM] FILES...\n");
+ printf("usage: sxiv [-CdFfhpqrstvZ] [-g GEOMETRY] [-z ZOOM] FILES...\n");
}
void print_version() {
@@ -51,19 +51,15 @@ void parse_options(int argc, char **argv) {
_options.fullscreen = 0;
_options.geometry = NULL;
- _options.all = 0;
_options.quiet = 0;
_options.clean_cache = 0;
_options.recursive = 0;
- while ((opt = getopt(argc, argv, "aCdFfg:hpqrstvZz:")) != -1) {
+ while ((opt = getopt(argc, argv, "CdFfg:hpqrstvZz:")) != -1) {
switch (opt) {
case '?':
print_usage();
exit(1);
- case 'a':
- _options.all = 1;
- break;
case 'C':
_options.clean_cache = 1;
break;