nsxivecd5e71
Renamed option -C -> -c
+7 −7
3 files changed
| @@ -34,7 +34,7 @@ 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 | − | -C Remove all orphaned cache files from thumbnail cache and exit | |
| 37 | + | -c Remove all orphaned cache files from thumbnail cache and exit | |
| 38 | 38 | -d Scale all images to 100%, but fit large images into window | |
| 39 | 39 | -F Use size-hints to make the window fixed/floating | |
| 40 | 40 | -f Start in fullscreen mode | |
| @@ -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 [-CdFfhpqrstvZ] [-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() { | |
| @@ -55,12 +55,12 @@ void parse_options(int argc, char **argv) { | |||
| 55 | 55 | _options.clean_cache = 0; | |
| 56 | 56 | _options.recursive = 0; | |
| 57 | 57 | ||
| 58 | − | while ((opt = getopt(argc, argv, "CdFfg:hpqrstvZz:")) != -1) { | |
| 58 | + | while ((opt = getopt(argc, argv, "cdFfg:hpqrstvZz:")) != -1) { | |
| 59 | 59 | switch (opt) { | |
| 60 | 60 | case '?': | |
| 61 | 61 | print_usage(); | |
| 62 | 62 | exit(1); | |
| 63 | − | case 'C': | |
| 63 | + | case 'c': | |
| 64 | 64 | _options.clean_cache = 1; | |
| 65 | 65 | break; | |
| 66 | 66 | case 'd': | |
| @@ -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 [ \-CdFfhpqrstvZ ] | |
| 6 | + | .RB [ \-cdFfhpqrstvZ ] | |
| 7 | 7 | .RB [ \-g | |
| 8 | 8 | .IR GEOMETRY ] | |
| 9 | 9 | .RB [ \-z | |
| @@ -31,7 +31,7 @@ Please note, that the fullscreen mode requires an EWMH/NetWM compliant window | |||
| 31 | 31 | manager. | |
| 32 | 32 | .SH OPTIONS | |
| 33 | 33 | .TP | |
| 34 | − | .B \-C | |
| 34 | + | .B \-c | |
| 35 | 35 | Remove all orphaned cache files from the thumbnail cache directory and exit. | |
| 36 | 36 | .TP | |
| 37 | 37 | .B \-d | |
| @@ -201,7 +201,7 @@ existance of this directory as an affirmation, that the user wants thumbnails | |||
| 201 | 201 | to be cached. | |
| 202 | 202 | .P | |
| 203 | 203 | Use the command line option | |
| 204 | − | .I \-C | |
| 204 | + | .I \-c | |
| 205 | 205 | to keep the cache directory clean by removing all orphaned cache files. | |
| 206 | 206 | Additionally, run the following command afterwards inside the cache directory | |
| 207 | 207 | to remove empty subdirectories: | |