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

Submitted by Francois Gouget on Nov. 2, 2016, 3:38 p.m.

Details

Message ID E1c1xc5-0003yP-Ad@amboise
State New
Headers show
Series "vdagentd: Clean up and clarify the usage message" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

Francois Gouget Nov. 2, 2016, 3:38 p.m.
udsc is an internal library of sorts that's irrelevant to users.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
---
 src/vdagentd/vdagentd.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch hide | download patch | download mbox

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);
 }

Comments

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@redhat.com>

> 
> Signed-off-by: Francois Gouget <fgouget@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@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel