aboutsummaryrefslogtreecommitdiffstats
path: root/devel/asl/files/patch-as.c
blob: 404d3b9cc65dcdf9324c7b2a12abc411e0a93610 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- as.c.orig   Sat May  9 15:13:05 1998
+++ as.c    Fri Dec 11 17:14:47 1998
@@ -2577,6 +2577,13 @@
 
    ParamCount=argc-1; ParamStr=argv;
 
+   if (ParamCount == 0)
+    BEGIN
+       fprintf(stderr, "Usage: %s [ option(s) ] file(s) [ option(s) ] file(s)\n",
+                       argv[0]);
+       exit(0);
+    END
+    
    if (First)
     BEGIN
      endian_init(); nls_init(); bpemu_init(); stdhandl_init();