about summary refs log tree commit diff
path: root/other/pambayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'other/pambayer.c')
-rw-r--r--other/pambayer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/other/pambayer.c b/other/pambayer.c
index b4eaae75..f8ce0db8 100644
--- a/other/pambayer.c
+++ b/other/pambayer.c
@@ -80,6 +80,8 @@ parseCommandLine(int argc, char ** argv,
     else if (argc-1 > 1)
         pm_error("There is at most one argument -- the input file.  "
                  "You specified %u", argc-1);
+    else
+        cmdlineP->inputFilespec = argv[1];
 
     if (!typeSpec)
         pm_error("You must specify the -type option");