Use -V instead of -v for --version

This commit is contained in:
Enrico Tröger 2008-11-22 01:45:47 +01:00 committed by Christian Dywan
parent e1c5e81cc9
commit 9c8bab302c
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@ The following arguments are supported if you call Midori from a command line.
+=======+====================+================================================+ +=======+====================+================================================+
| -r | --run | Run the specified filename as javascript | | -r | --run | Run the specified filename as javascript |
+-------+--------------------+------------------------------------------------+ +-------+--------------------+------------------------------------------------+
| -v | --version | Show version information and exit. | | -V | --version | Show version information and exit. |
+-------+--------------------+------------------------------------------------+ +-------+--------------------+------------------------------------------------+

View file

@ -1099,7 +1099,7 @@ main (int argc,
{ {
{ "run", 'r', 0, G_OPTION_ARG_NONE, &run, { "run", 'r', 0, G_OPTION_ARG_NONE, &run,
N_("Run the specified filename as javascript"), NULL }, N_("Run the specified filename as javascript"), NULL },
{ "version", 'v', 0, G_OPTION_ARG_NONE, &version, { "version", 'V', 0, G_OPTION_ARG_NONE, &version,
N_("Display program version"), NULL }, N_("Display program version"), NULL },
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &uris, { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, &uris,
N_("URIs"), NULL }, N_("URIs"), NULL },