Six months ago I couldn't even spell porgrammer...
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 25 Sep 1990 04:36:43 +0000 (20:36 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Tue, 25 Sep 1990 04:36:43 +0000 (20:36 -0800)
SCCS-vsn: usr.bin/spline/spline.c 4.6

usr/src/usr.bin/spline/spline.c

index 8743dfc..bec5463 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)spline.c    4.5 (Berkeley) %G%";
+static char *sccsid = "@(#)spline.c    4.6 (Berkeley) %G%";
 #endif
 
 #include <stdio.h>
 #endif
 
 #include <stdio.h>
@@ -307,7 +307,9 @@ again:              switch(argv[0][0]) {
                        x.ubf = 1;
                        break;
                default:
                        x.ubf = 1;
                        break;
                default:
-                       fprintf(stderr, "Bad agrument\n");
+                       (void)fprintf(stderr, "spline: illegal option -- %c\n",
+                           argv[0][0]);
+                       (void)fprintf(stderr, "usage: spline [-aknpx]\n");
                        exit(1);
                }
        }
                        exit(1);
                }
        }