summaryrefslogtreecommitdiff
path: root/usr.sbin/vmctl/main.c
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2021-06-26 18:03:46 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2021-06-26 18:03:46 +0000
commitedcd320715b0df5d1d66833eba885f7dfc6d7fc4 (patch)
tree66ee74d0db7697cfc98ad724a3c821b930e2ae05 /usr.sbin/vmctl/main.c
parentfecfc898c2952aa368bca211537b379f4cda1083 (diff)
make usage less chatty; ok mlarkin
Diffstat (limited to 'usr.sbin/vmctl/main.c')
-rw-r--r--usr.sbin/vmctl/main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.sbin/vmctl/main.c b/usr.sbin/vmctl/main.c
index 8bfa3b7d342..720715030df 100644
--- a/usr.sbin/vmctl/main.c
+++ b/usr.sbin/vmctl/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.65 2021/05/12 20:13:00 dv Exp $ */
+/* $OpenBSD: main.c,v 1.66 2021/06/26 18:03:45 jmc Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -99,10 +99,7 @@ usage(void)
fprintf(stderr, "usage:\t%s [-v] command [arg ...]\n",
__progname);
- for (i = 0; ctl_commands[i].name != NULL; i++) {
- fprintf(stderr, "\t%s %s %s\n", __progname,
- ctl_commands[i].name, ctl_commands[i].usage);
- }
+
exit(1);
}