Krolyxon
Commit ecd5e71

Branches

Refs →

nsxivecd5e71

Renamed option -C -> -c

Author
Bert
Date
2011-04-11 21:27 +0200
Parent
5f82011
Commit
ecd5e7108cf515898a04c848b17234a5e3ee6179

+7 −7

3 files changed

  1. M README.md +1 −1
  2. M options.c +3 −3
  3. M sxiv.1 +3 −3
M README.md View
@@ -34,7 +34,7 @@ small previews is displayed, making it easy to choose an image to open.
3434
3535 sxiv supports the following command-line options:
3636
37− -C Remove all orphaned cache files from thumbnail cache and exit
37+ -c Remove all orphaned cache files from thumbnail cache and exit
3838 -d Scale all images to 100%, but fit large images into window
3939 -F Use size-hints to make the window fixed/floating
4040 -f Start in fullscreen mode
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 [-CdFfhpqrstvZ] [-g GEOMETRY] [-z ZOOM] FILES...\n");
34+ printf("usage: sxiv [-cdFfhpqrstvZ] [-g GEOMETRY] [-z ZOOM] FILES...\n");
3535 }
3636
3737 void print_version() {
@@ -55,12 +55,12 @@ void parse_options(int argc, char **argv) {
5555 _options.clean_cache = 0;
5656 _options.recursive = 0;
5757
58− while ((opt = getopt(argc, argv, "CdFfg:hpqrstvZz:")) != -1) {
58+ while ((opt = getopt(argc, argv, "cdFfg:hpqrstvZz:")) != -1) {
5959 switch (opt) {
6060 case '?':
6161 print_usage();
6262 exit(1);
63− case 'C':
63+ case 'c':
6464 _options.clean_cache = 1;
6565 break;
6666 case 'd':
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 [ \-CdFfhpqrstvZ ]
6+.RB [ \-cdFfhpqrstvZ ]
77 .RB [ \-g
88 .IR GEOMETRY ]
99 .RB [ \-z
@@ -31,7 +31,7 @@ Please note, that the fullscreen mode requires an EWMH/NetWM compliant window
3131 manager.
3232 .SH OPTIONS
3333 .TP
34−.B \-C
34+.B \-c
3535 Remove all orphaned cache files from the thumbnail cache directory and exit.
3636 .TP
3737 .B \-d
@@ -201,7 +201,7 @@ existance of this directory as an affirmation, that the user wants thumbnails
201201 to be cached.
202202 .P
203203 Use the command line option
204−.I \-C
204+.I \-c
205205 to keep the cache directory clean by removing all orphaned cache files.
206206 Additionally, run the following command afterwards inside the cache directory
207207 to remove empty subdirectories: