diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 1999-09-07 12:35:28 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 1999-09-07 12:35:28 +0000 |
commit | 50b31f4055684c4d42799dc0c34403293eea6ddc (patch) | |
tree | 0b1d50f42ab53d10b0e69f5a524e1202e074926c | |
parent | 42816c6161dd436f82d4cfa4d0d62687f4c77bf3 (diff) |
Add {newline, usage()} to 'unknown command' message.
-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); } |