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\/]
|
.RI [ \,image(s)\/ | \,directory\/ | \,archive\/]
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.B \-h, \-\-help
|
.B \-\-help
|
||||||
print help text
|
display this help
|
||||||
.TP
|
.TP
|
||||||
.B \-v, \-\-version
|
.B \-\-ignore-unknown
|
||||||
print version
|
|
||||||
.TP
|
|
||||||
.B \-i, \-\-ignore-unknown
|
|
||||||
ignore unknown image format
|
ignore unknown image format
|
||||||
|
.TP
|
||||||
|
.B \-\-version
|
||||||
|
print version
|
||||||
.SH KEYS
|
.SH KEYS
|
||||||
.TP
|
.TP
|
||||||
[+]
|
[+]
|
||||||
|
|||||||
@@ -1736,9 +1736,9 @@ int main(int argc, char **argv)
|
|||||||
red.green = red.blue = 0;
|
red.green = red.blue = 0;
|
||||||
|
|
||||||
static struct option long_options[] = {
|
static struct option long_options[] = {
|
||||||
{"version", no_argument, 0, 'v'},
|
|
||||||
{"help", no_argument, 0, 'h'},
|
{"help", no_argument, 0, 'h'},
|
||||||
{"ignore-unknown", no_argument, 0, 'i'},
|
{"ignore-unknown", no_argument, 0, 'i'},
|
||||||
|
{"version", no_argument, 0, 'v'},
|
||||||
{0, 0, 0, 0}
|
{0, 0, 0, 0}
|
||||||
};
|
};
|
||||||
int option_index = 0;
|
int option_index = 0;
|
||||||
@@ -1749,9 +1749,9 @@ int main(int argc, char **argv)
|
|||||||
case 'h':
|
case 'h':
|
||||||
printf("Usage: %s [image(s)|directory|archive]\n"
|
printf("Usage: %s [image(s)|directory|archive]\n"
|
||||||
"Options:\n"
|
"Options:\n"
|
||||||
" -h, --help print this help text\n"
|
" -h, --help display this help and exit\n"
|
||||||
" -v, --version print version\n"
|
|
||||||
" -i, --ignore-unknown ignore unknown image format\n"
|
" -i, --ignore-unknown ignore unknown image format\n"
|
||||||
|
" -v, --version print version\n"
|
||||||
"\nKeys:\n\n"
|
"\nKeys:\n\n"
|
||||||
" [+] zoom in\n"
|
" [+] zoom in\n"
|
||||||
" [-] zoom out\n"
|
" [-] zoom out\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user