nsxivf4b9bc9
Removed option -a
+3 −15
4 files changed
| @@ -34,8 +34,6 @@ small previews is displayed, making it easy to choose an image to open. | |||
| 34 | 34 | ||
| 35 | 35 | sxiv supports the following command-line options: | |
| 36 | 36 | ||
| 37 | − | -a Display all given files, do not filter out unsupported files | |
| 38 | − | (shorter startup time for long file list or slow file types) | |
| 39 | 37 | -C Remove all orphaned cache files from thumbnail cache and exit | |
| 40 | 38 | -d Scale all images to 100%, but fit large images into window | |
| 41 | 39 | -F Use size-hints to make the window fixed/floating | |
| @@ -31,7 +31,7 @@ options_t _options; | |||
| 31 | 31 | const options_t *options = (const options_t*) &_options; | |
| 32 | 32 | ||
| 33 | 33 | 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"); | |
| 35 | 35 | } | |
| 36 | 36 | ||
| 37 | 37 | void print_version() { | |
| @@ -51,19 +51,15 @@ void parse_options(int argc, char **argv) { | |||
| 51 | 51 | _options.fullscreen = 0; | |
| 52 | 52 | _options.geometry = NULL; | |
| 53 | 53 | ||
| 54 | − | _options.all = 0; | |
| 55 | 54 | _options.quiet = 0; | |
| 56 | 55 | _options.clean_cache = 0; | |
| 57 | 56 | _options.recursive = 0; | |
| 58 | 57 | ||
| 59 | − | while ((opt = getopt(argc, argv, "aCdFfg:hpqrstvZz:")) != -1) { | |
| 58 | + | while ((opt = getopt(argc, argv, "CdFfg:hpqrstvZz:")) != -1) { | |
| 60 | 59 | switch (opt) { | |
| 61 | 60 | case '?': | |
| 62 | 61 | print_usage(); | |
| 63 | 62 | exit(1); | |
| 64 | − | case 'a': | |
| 65 | − | _options.all = 1; | |
| 66 | − | break; | |
| 67 | 63 | case 'C': | |
| 68 | 64 | _options.clean_cache = 1; | |
| 69 | 65 | break; | |
| @@ -35,7 +35,6 @@ typedef struct { | |||
| 35 | 35 | unsigned char fullscreen; | |
| 36 | 36 | char *geometry; | |
| 37 | 37 | ||
| 38 | − | unsigned char all; | |
| 39 | 38 | unsigned char quiet; | |
| 40 | 39 | unsigned char clean_cache; | |
| 41 | 40 | unsigned char recursive; | |
| @@ -3,7 +3,7 @@ | |||
| 3 | 3 | sxiv \- Simple (or small or suckless) X Image Viewer | |
| 4 | 4 | .SH SYNOPSIS | |
| 5 | 5 | .B sxiv | |
| 6 | − | .RB [ \-aCdFfhpqrstvZ ] | |
| 6 | + | .RB [ \-CdFfhpqrstvZ ] | |
| 7 | 7 | .RB [ \-g | |
| 8 | 8 | .IR GEOMETRY ] | |
| 9 | 9 | .RB [ \-z | |
| @@ -31,11 +31,6 @@ Please note, that the fullscreen mode requires an EWMH/NetWM compliant window | |||
| 31 | 31 | manager. | |
| 32 | 32 | .SH OPTIONS | |
| 33 | 33 | .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 | |
| 39 | 34 | .B \-C | |
| 40 | 35 | Remove all orphaned cache files from the thumbnail cache directory and exit. | |
| 41 | 36 | .TP | |