diff options
Diffstat (limited to 'usr.sbin/vmctl/main.c')
-rw-r--r-- | usr.sbin/vmctl/main.c | 7 |
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); } |