mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-01-06 13:17:45 +03:00
Add -- to seperate program arguments to server in man / --help
Since some of the arguments are expecting following value, make it more explicit in the man and --help that -- can seperate options from server name or location. https://bugzilla.redhat.com/show_bug.cgi?id=843103
This commit is contained in:
parent
fdaa9b0ca8
commit
9b1ad0b118
@ -5,7 +5,7 @@ remote-viewer - a simple remote desktop client
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
B<remote-viewer> [OPTIONS] URI
|
||||
B<remote-viewer> [OPTIONS] -- URI
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
|
@ -5,7 +5,7 @@ virt-viewer - display the graphical console for a virtual machine
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
B<virt-viewer> [OPTIONS] DOMAIN-NAME|ID|UUID
|
||||
B<virt-viewer> [OPTIONS] -- DOMAIN-NAME|ID|UUID
|
||||
|
||||
=head1 DESCRIPTION
|
||||
|
||||
|
@ -228,7 +228,7 @@ main(int argc, char **argv)
|
||||
{ "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" },
|
||||
NULL, "-- URI" },
|
||||
{ NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
|
@ -84,7 +84,7 @@ int main(int argc, char **argv)
|
||||
{ "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" },
|
||||
NULL, "-- DOMAIN-NAME|ID|UUID" },
|
||||
{ NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user