[virt-tools-list] [virt-viewer] Use -H instead of -h for the short --hotkeys

Christophe Fergeau cfergeau at redhat.com
Wed Jul 3 16:28:37 UTC 2013


-h conflicts with the short version of --help.

Fixes rhbz#980846
---
 man/remote-viewer.pod    | 2 +-
 man/virt-viewer.pod      | 2 +-
 src/remote-viewer-main.c | 2 +-
 src/virt-viewer-main.c   | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/man/remote-viewer.pod b/man/remote-viewer.pod
index c23985d..2ad0872 100644
--- a/man/remote-viewer.pod
+++ b/man/remote-viewer.pod
@@ -60,7 +60,7 @@ page to start a client.
 
 Print debugging information
 
-=item -h HOTKEYS, --hotkeys HOTKEYS
+=item -H HOTKEYS, --hotkeys HOTKEYS
 
 Override the default hotkey bindings with B<HOTKEYS>. Where B<HOTKEYS> is
 <action1>=<key1>[+<key2>][,<action2>=<key3>[+<key4>]]. Key-names are
diff --git a/man/virt-viewer.pod b/man/virt-viewer.pod
index 6ed381a..9187c2e 100644
--- a/man/virt-viewer.pod
+++ b/man/virt-viewer.pod
@@ -72,7 +72,7 @@ Start with the window maximised to fullscreen
 
 Print debugging information
 
-=item -h HOTKEYS, --hotkeys HOTKEYS
+=item -H HOTKEYS, --hotkeys HOTKEYS
 
 Override the default hotkey bindings with B<HOTKEYS>. Where B<HOTKEYS> is
 <action1>=<key1>[+<key2>][,<action2>=<key3>[+<key4>]]. Key-names are
diff --git a/src/remote-viewer-main.c b/src/remote-viewer-main.c
index 3838d5e..820a676 100644
--- a/src/remote-viewer-main.c
+++ b/src/remote-viewer-main.c
@@ -137,7 +137,7 @@ main(int argc, char **argv)
         { "spice-controller", '\0', 0, G_OPTION_ARG_NONE, &controller,
           N_("Open connection using Spice controller communication"), NULL },
 #endif
-        { "hotkeys", 'h', 0, G_OPTION_ARG_STRING, &hotkeys,
+        { "hotkeys", 'H', 0, G_OPTION_ARG_STRING, &hotkeys,
           N_("Customise hotkeys"), NULL },
         { G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &args,
           NULL, "-- URI" },
diff --git a/src/virt-viewer-main.c b/src/virt-viewer-main.c
index caef434..96e2e00 100644
--- a/src/virt-viewer-main.c
+++ b/src/virt-viewer-main.c
@@ -81,7 +81,7 @@ int main(int argc, char **argv)
           N_("Display debugging information"), NULL },
         { "full-screen", 'f', 0, G_OPTION_ARG_NONE, &fullscreen,
           N_("Open in full screen mode"), NULL },
-        { "hotkeys", 'h', 0, G_OPTION_ARG_STRING, &hotkeys,
+        { "hotkeys", 'H', 0, G_OPTION_ARG_STRING, &hotkeys,
           N_("Customise hotkeys"), NULL },
         { G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &args,
           NULL, "-- DOMAIN-NAME|ID|UUID" },
-- 
1.8.3.1




More information about the virt-tools-list mailing list