mirror of
https://github.com/gryf/wmaker.git
synced 2026-03-20 18:33:31 +01:00
Doc: fix wmiv man page
Sort out the argument order or else 'make check' will complain.
This commit is contained in:
committed by
Carlos R. Mafra
parent
b662d0827c
commit
77c3b95fd5
12
doc/wmiv.1
12
doc/wmiv.1
@@ -6,14 +6,14 @@ wmiv \- quick image viewer using wrlib
|
||||
.RI [ \,image(s)\/ | \,directory\/ | \,archive\/]
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B \-h, \-\-help
|
||||
print help text
|
||||
.B \-\-help
|
||||
display this help
|
||||
.TP
|
||||
.B \-v, \-\-version
|
||||
print version
|
||||
.TP
|
||||
.B \-i, \-\-ignore-unknown
|
||||
.B \-\-ignore-unknown
|
||||
ignore unknown image format
|
||||
.TP
|
||||
.B \-\-version
|
||||
print version
|
||||
.SH KEYS
|
||||
.TP
|
||||
[+]
|
||||
|
||||
@@ -1736,9 +1736,9 @@ int main(int argc, char **argv)
|
||||
red.green = red.blue = 0;
|
||||
|
||||
static struct option long_options[] = {
|
||||
{"version", no_argument, 0, 'v'},
|
||||
{"help", no_argument, 0, 'h'},
|
||||
{"ignore-unknown", no_argument, 0, 'i'},
|
||||
{"version", no_argument, 0, 'v'},
|
||||
{0, 0, 0, 0}
|
||||
};
|
||||
int option_index = 0;
|
||||
@@ -1749,9 +1749,9 @@ int main(int argc, char **argv)
|
||||
case 'h':
|
||||
printf("Usage: %s [image(s)|directory|archive]\n"
|
||||
"Options:\n"
|
||||
" -h, --help print this help text\n"
|
||||
" -v, --version print version\n"
|
||||
" -h, --help display this help and exit\n"
|
||||
" -i, --ignore-unknown ignore unknown image format\n"
|
||||
" -v, --version print version\n"
|
||||
"\nKeys:\n\n"
|
||||
" [+] zoom in\n"
|
||||
" [-] zoom out\n"
|
||||
|
||||
Reference in New Issue
Block a user