Krolyxon
Commit f4b9bc9

Branches

Refs →

nsxivf4b9bc9

Removed option -a

Author
Bert
Date
2011-04-11 17:01 +0200
Parent
d15264e
Commit
f4b9bc9a1d569041aab3bfc07ebc53d35e1fff0f

+3 −15

4 files changed

  1. M README.md +0 −2
  2. M options.c +2 −6
  3. M options.h +0 −1
  4. M sxiv.1 +1 −6
M README.md View
@@ -34,8 +34,6 @@ small previews is displayed, making it easy to choose an image to open.
3434
3535 sxiv supports the following command-line options:
3636
37− -a Display all given files, do not filter out unsupported files
38− (shorter startup time for long file list or slow file types)
3937 -C Remove all orphaned cache files from thumbnail cache and exit
4038 -d Scale all images to 100%, but fit large images into window
4139 -F Use size-hints to make the window fixed/floating
M options.c View
@@ -31,7 +31,7 @@ options_t _options;
3131 const options_t *options = (const options_t*) &_options;
3232
3333 void print_usage() {
34− printf("usage: sxiv [-aCdFfhpqrstvZ] [-g GEOMETRY] [-z ZOOM] FILES...\n");
34+ printf("usage: sxiv [-CdFfhpqrstvZ] [-g GEOMETRY] [-z ZOOM] FILES...\n");
3535 }
3636
3737 void print_version() {
@@ -51,19 +51,15 @@ void parse_options(int argc, char **argv) {
5151 _options.fullscreen = 0;
5252 _options.geometry = NULL;
5353
54− _options.all = 0;
5554 _options.quiet = 0;
5655 _options.clean_cache = 0;
5756 _options.recursive = 0;
5857
59− while ((opt = getopt(argc, argv, "aCdFfg:hpqrstvZz:")) != -1) {
58+ while ((opt = getopt(argc, argv, "CdFfg:hpqrstvZz:")) != -1) {
6059 switch (opt) {
6160 case '?':
6261 print_usage();
6362 exit(1);
64− case 'a':
65− _options.all = 1;
66− break;
6763 case 'C':
6864 _options.clean_cache = 1;
6965 break;
M options.h View
@@ -35,7 +35,6 @@ typedef struct {
3535 unsigned char fullscreen;
3636 char *geometry;
3737
38− unsigned char all;
3938 unsigned char quiet;
4039 unsigned char clean_cache;
4140 unsigned char recursive;
M sxiv.1 View
@@ -3,7 +3,7 @@
33 sxiv \- Simple (or small or suckless) X Image Viewer
44 .SH SYNOPSIS
55 .B sxiv
6−.RB [ \-aCdFfhpqrstvZ ]
6+.RB [ \-CdFfhpqrstvZ ]
77 .RB [ \-g
88 .IR GEOMETRY ]
99 .RB [ \-z
@@ -31,11 +31,6 @@ Please note, that the fullscreen mode requires an EWMH/NetWM compliant window
3131 manager.
3232 .SH OPTIONS
3333 .TP
34−.B \-a
35−Display all given files, do not filter out unsupported files. This might result
36−in a much shorter startup time, when the file list is very long or contains
37−large files of slow loadable types, e.g. gif and progressive jpg.
38−.TP
3934 .B \-C
4035 Remove all orphaned cache files from the thumbnail cache directory and exit.
4136 .TP