Removed option -a

This commit is contained in:
Bert
2011-04-11 17:01:33 +02:00
parent d15264ea32
commit f4b9bc9a1d
4 changed files with 3 additions and 15 deletions

View File

@ -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;