aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--options.c8
-rw-r--r--options.h1
-rw-r--r--sxiv.17
4 files changed, 3 insertions, 15 deletions
diff --git a/README.md b/README.md
index 424caf2..7e1fb8d 100644
--- a/README.md
+++ b/README.md
@@ -34,8 +34,6 @@ small previews is displayed, making it easy to choose an image to open.
sxiv supports the following command-line options:
- -a Display all given files, do not filter out unsupported files
- (shorter startup time for long file list or slow file types)
-C Remove all orphaned cache files from thumbnail cache and exit
-d Scale all images to 100%, but fit large images into window
-F Use size-hints to make the window fixed/floating
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;
diff --git a/options.h b/options.h
index b7b8ba5..f465855 100644
--- a/options.h
+++ b/options.h
@@ -35,7 +35,6 @@ typedef struct {
unsigned char fullscreen;
char *geometry;
- unsigned char all;
unsigned char quiet;
unsigned char clean_cache;
unsigned char recursive;
diff --git a/sxiv.1 b/sxiv.1
index e7f19e2..18877de 100644
--- a/sxiv.1
+++ b/sxiv.1
@@ -3,7 +3,7 @@
sxiv \- Simple (or small or suckless) X Image Viewer
.SH SYNOPSIS
.B sxiv
-.RB [ \-aCdFfhpqrstvZ ]
+.RB [ \-CdFfhpqrstvZ ]
.RB [ \-g
.IR GEOMETRY ]
.RB [ \-z
@@ -31,11 +31,6 @@ Please note, that the fullscreen mode requires an EWMH/NetWM compliant window
manager.
.SH OPTIONS
.TP
-.B \-a
-Display all given files, do not filter out unsupported files. This might result
-in a much shorter startup time, when the file list is very long or contains
-large files of slow loadable types, e.g. gif and progressive jpg.
-.TP
.B \-C
Remove all orphaned cache files from the thumbnail cache directory and exit.
.TP