Must distinguish between "ambiguous" and "unknown" commands.
[unix-history] / usr / src / usr.bin / cmp / cmp.c
index 7cf10b2..6ed2a4e 100644 (file)
@@ -1,4 +1,4 @@
-static char *sccsid = "@(#)cmp.c       4.3 (Berkeley) %G%";
+static char *sccsid = "@(#)cmp.c       4.4 (Berkeley) %G%";
 
 #include <sys/param.h>
 #include <sys/file.h>
 
 #include <sys/param.h>
 #include <sys/file.h>
@@ -211,6 +211,6 @@ register char       *C;             /* argument string */
 static
 usage()
 {
 static
 usage()
 {
-       fputs("usage: cmp [-ls] file1 file2 [skip1] [skip2]",stderr);
+       fputs("usage: cmp [-ls] file1 file2 [skip1] [skip2]\n",stderr);
        exit(ERR);
 }
        exit(ERR);
 }