vmctl: unnecessary space in usage

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

vmctl: unnecessary space in usage

Alessandro Gallo
Hi,

There seems to be an extra space in the vmctl command usage. The
following diff removes it:

Index: main.c
===================================================================
RCS file: /cvs/src/usr.sbin/vmctl/main.c,v
retrieving revision 1.56
diff -u -p -u -p -r1.56 main.c
--- main.c 29 May 2019 21:32:43 -0000 1.56
+++ main.c 4 Jul 2019 20:47:41 -0000
@@ -82,7 +82,7 @@ struct ctl_command ctl_commands[] = {
  { "send", CMD_SEND, ctl_send, "id", 1},
  { "show", CMD_STATUS, ctl_status, "[id]" },
  { "start", CMD_START, ctl_start,
-    " [-cL] [-B device] [-b path] [-d disk] [-i count]\n"
+    "[-cL] [-B device] [-b path] [-d disk] [-i count]\n"
     "\t\t[-m size] [-n switch] [-r path] [-t name] id | name" },
  { "status", CMD_STATUS, ctl_status, "[id]" },
  { "stop", CMD_STOP, ctl_stop, "[-fw] [id | -a]" },

Thanks,
Alessandro

Reply | Threaded
Open this post in threaded view
|

Re: vmctl: unnecessary space in usage

Jason McIntyre-2
On Fri, Jul 05, 2019 at 10:55:30PM +0200, Alessandro Gallo wrote:
> Hi,
>
> There seems to be an extra space in the vmctl command usage. The
> following diff removes it:
>

fixed, thanks.
jmc

> Index: main.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/vmctl/main.c,v
> retrieving revision 1.56
> diff -u -p -u -p -r1.56 main.c
> --- main.c 29 May 2019 21:32:43 -0000 1.56
> +++ main.c 4 Jul 2019 20:47:41 -0000
> @@ -82,7 +82,7 @@ struct ctl_command ctl_commands[] = {
>   { "send", CMD_SEND, ctl_send, "id", 1},
>   { "show", CMD_STATUS, ctl_status, "[id]" },
>   { "start", CMD_START, ctl_start,
> -    " [-cL] [-B device] [-b path] [-d disk] [-i count]\n"
> +    "[-cL] [-B device] [-b path] [-d disk] [-i count]\n"
>      "\t\t[-m size] [-n switch] [-r path] [-t name] id | name" },
>   { "status", CMD_STATUS, ctl_status, "[id]" },
>   { "stop", CMD_STOP, ctl_stop, "[-fw] [id | -a]" },
>
> Thanks,
> Alessandro
>