Delete '-r' shortcut for --auto-resize

The '-r' shortcut was alread used for '--reconnect' in virt-viewer.
The --auto-resize arg is a fairly niche use case so doesn't really
need a shortcut.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2021-09-07 13:01:04 +01:00
parent 38b3f50374
commit a8c781e85c
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ can be disabled by the C<--auto-resize> arguemnt.
To specify which client monitors are used in fullscreen mode, see the
CONFIGURATION section below.
=item -r <always|never>, --auto-resize <always|never>
=item --auto-resize <always|never>
Controls whether it is permitted to attempt to resize the remote framebuffer
to match the local window size. This currently defaults to on, but note that

View File

@ -82,7 +82,7 @@ necessary. This is currently implemented by the Spice backend only.
To specify which client monitors are used in fullscreen mode, see the
CONFIGURATION section below.
=item -r <always|never>, --auto-resize <always|never>
=item --auto-resize <always|never>
Controls whether it is permitted to attempt to resize the remote framebuffer
to match the local window size. This currently defaults to on, but note that

View File

@ -3559,7 +3559,7 @@ virt_viewer_app_add_option_entries(G_GNUC_UNUSED VirtViewerApp *self,
N_("Open in full screen mode (adjusts guest resolution to fit the client)"), NULL },
{ "hotkeys", 'H', 0, G_OPTION_ARG_STRING, &opt_hotkeys,
N_("Customise hotkeys"), NULL },
{ "auto-resize", 'r', 0, G_OPTION_ARG_STRING, &opt_resize,
{ "auto-resize", '\0', 0, G_OPTION_ARG_STRING, &opt_resize,
N_("Automatically resize remote framebuffer"), N_("<never|always>") },
{ "keymap", 'K', 0, G_OPTION_ARG_STRING, &opt_keymap,
N_("Remap keys format key=keymod+key e.g. F1=SHIFT+CTRL+F1,1=SHIFT+F1,ALT_L=Void"), NULL },