diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2018-12-14 07:56:18 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2018-12-14 07:56:18 +0000 |
commit | ed8fd76e8d213217c9237b2798c54e76919fae3e (patch) | |
tree | bb0e2656a2901c2d692620819156fa6ba14e944f /usr.sbin | |
parent | 517029c35a0748509844aaff82467e644ba37a22 (diff) |
sync usage(); also, stop enclosing arg names in quotes, since it was
applied inconsistently, and applied consistently would make it
look like spaghetti;
ok mlarkin
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/vmctl/main.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/usr.sbin/vmctl/main.c b/usr.sbin/vmctl/main.c index 3f6d0a4a65c..2241c48bf03 100644 --- a/usr.sbin/vmctl/main.c +++ b/usr.sbin/vmctl/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.51 2018/12/11 07:44:25 claudio Exp $ */ +/* $OpenBSD: main.c,v 1.52 2018/12/14 07:56:17 jmc Exp $ */ /* * Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> @@ -72,22 +72,22 @@ int ctl_receive(struct parse_result *, int, char *[]); struct ctl_command ctl_commands[] = { { "console", CMD_CONSOLE, ctl_console, "id" }, { "create", CMD_CREATE, ctl_create, - "\"path\" [-b base] [-i disk] [-s size]", 1 }, - { "load", CMD_LOAD, ctl_load, "\"path\"" }, - { "log", CMD_LOG, ctl_log, "[verbose|brief]" }, + "disk [-b base | -i disk] [-s size]", 1 }, + { "load", CMD_LOAD, ctl_load, "filename" }, + { "log", CMD_LOG, ctl_log, "[brief | verbose]" }, + { "pause", CMD_PAUSE, ctl_pause, "id" }, + { "receive", CMD_RECEIVE, ctl_receive, "name" , 1}, { "reload", CMD_RELOAD, ctl_reload, "" }, - { "reset", CMD_RESET, ctl_reset, "[all|vms|switches]" }, + { "reset", CMD_RESET, ctl_reset, "[all | switches | vms]" }, + { "send", CMD_SEND, ctl_send, "id", 1}, { "show", CMD_STATUS, ctl_status, "[id]" }, - { "start", CMD_START, ctl_start, "\"name\"" - " [-Lc] [-b image] [-B device] [-r image] [-m size]\n" - "\t\t[-n switch] [-i count] [-d disk]* [-t name]" }, + { "start", CMD_START, ctl_start, "name" + " [-cL] [-B device] [-b path] [-d disk] [-i count]\n" + "\t\t[-m size] [-n switch] [-r path] [-t name]" }, { "status", CMD_STATUS, ctl_status, "[id]" }, - { "stop", CMD_STOP, ctl_stop, "[id|-a] [-fw]" }, - { "wait", CMD_WAITFOR, ctl_waitfor, "id" }, - { "pause", CMD_PAUSE, ctl_pause, "id" }, + { "stop", CMD_STOP, ctl_stop, "[id | -a] [-fw]" }, { "unpause", CMD_UNPAUSE, ctl_unpause, "id" }, - { "send", CMD_SEND, ctl_send, "id", 1}, - { "receive", CMD_RECEIVE, ctl_receive, "id" , 1}, + { "wait", CMD_WAITFOR, ctl_waitfor, "id" }, { NULL } }; |