diff options
-rw-r--r-- | sbin/ipsecadm/ipsecadm.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/ipsecadm/ipsecadm.c b/sbin/ipsecadm/ipsecadm.c index f69f84d4d61..ed766a75556 100644 --- a/sbin/ipsecadm/ipsecadm.c +++ b/sbin/ipsecadm/ipsecadm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ipsecadm.c,v 1.23 1999/08/25 15:36:57 angelos Exp $ */ +/* $OpenBSD: ipsecadm.c,v 1.24 1999/09/07 12:35:27 ho Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -387,8 +387,9 @@ main(int argc, char **argv) } else { - fprintf(stderr, "%s: unknown command: %s", argv[0], + fprintf(stderr, "%s: unknown command: %s\n", argv[0], argv[1]); + usage(); exit(1); } |