[Spice-devel] [vd_agent] vdagentd: Clean up and clarify the usage message

Christophe Fergeau cfergeau at redhat.com
Mon Nov 7 17:48:35 UTC 2016


On Wed, Nov 02, 2016 at 04:38:05PM +0100, Francois Gouget wrote:
> udsc is an internal library of sorts that's irrelevant to users.

I've split this in 2 commits (the change which is described in the log +
one with the cosmetic changes) and pushed this.

Acked-by: Christophe Fergeau <cfergeau at redhat.com>

> 
> Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
> ---
>  src/vdagentd/vdagentd.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/src/vdagentd/vdagentd.c b/src/vdagentd/vdagentd.c
> index 13a84ce..18e82a7 100644
> --- a/src/vdagentd/vdagentd.c
> +++ b/src/vdagentd/vdagentd.c
> @@ -797,16 +797,16 @@ static void usage(FILE *fp)
>              "  -h             print this text\n"
>              "  -d             log debug messages (use twice for extra info)\n"
>              "  -s <port>      set virtio serial port  [%s]\n"
> -            "  -S <filename>  set udcs socket [%s]\n"
> +            "  -S <filename>  set vdagent Unix domain socket [%s]\n"
>              "  -u <dev>       set uinput device       [%s]\n"
>              "  -f             treat uinput device as fake; no ioctls\n"
>              "  -x             don't daemonize\n"
> -            "  -o             Only handle one virtio serial session.\n"
> +            "  -o             only handle one virtio serial session\n"
>  #ifdef HAVE_CONSOLE_KIT
> -            "  -X             Disable console kit integration\n"
> +            "  -X             disable console kit integration\n"
>  #endif
>  #ifdef HAVE_LIBSYSTEMD_LOGIN
> -            "  -X         Disable systemd-logind integration\n"
> +            "  -X             disable systemd-logind integration\n"
>  #endif
>              ,VERSION, portdev, vdagentd_socket, uinput_device);
>  }
> -- 
> 2.10.1
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20161107/4d2bd90d/attachment.sig>


More information about the Spice-devel mailing list