summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-12-08 08:02:16 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-12-08 08:02:16 +0000
commit623581263df406a472665448f0ae8165d1838ef0 (patch)
treed49da4a4af3328cb3fd4f397cee1ae334252d43b
parentac73d518d2215bf7b4472aa11bd569f7d4b8c504 (diff)
vmctl console - id is not optional
-rw-r--r--usr.sbin/vmctl/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmctl/main.c b/usr.sbin/vmctl/main.c
index 71efefc2cd2..799ca4dd5d8 100644
--- a/usr.sbin/vmctl/main.c
+++ b/usr.sbin/vmctl/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.7 2015/12/08 08:01:20 reyk Exp $ */
+/* $OpenBSD: main.c,v 1.8 2015/12/08 08:02:15 reyk Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -55,7 +55,7 @@ int ctl_status(struct parse_result *, int, char *[]);
int ctl_stop(struct parse_result *, int, char *[]);
struct ctl_command ctl_commands[] = {
- { "console", CMD_CONSOLE, ctl_console, "[id]" },
+ { "console", CMD_CONSOLE, ctl_console, "id" },
{ "create", CMD_CREATE, ctl_create, "\"name\" -s size", 1 },
{ "load", CMD_LOAD, ctl_load, "[path]" },
{ "reload", CMD_RELOAD, ctl_load, "[path]" },