Fix a couple of bugs reported by Ben Kujala
[pspp-builds.git] / src / cmdline.c
index 56ce1d94e67ecd53697adec48a3853847ce70226..81ec7d801e3afbfe3d46b0e0b829adef0b98b2ba 100644 (file)
@@ -35,6 +35,8 @@
 #include "str.h"
 #include "var.h"
 #include "version.h"
+#include "copyleft.h"
+#include "glob.h"
 
 void welcome (void);
 static void usage (void);
@@ -183,13 +185,7 @@ parse_command_line (int argc, char **argv)
          break;
        case 'V':
          puts (version);
-         puts (_("\nCopyright (C) 1997-9, 2000 Free Software Foundation, "
-                 "Inc.\n"
-                 "This is free software; see the source for copying "
-                 "conditions.  There is NO\n"
-                 "WARRANTY; not even for MERCHANTABILITY or FITNESS "
-                 "FOR A PARTICULAR PURPOSE.\n\n"
-                 "Written by Ben Pfaff <blp@gnu.org>."));
+         puts (legal);
          err_hcf (1);
        case '?':
          usage ();
@@ -206,6 +202,7 @@ parse_command_line (int argc, char **argv)
     {
       /* FIXME: Later this option should do some other things, too. */
       force_long_view();
+      test_mode = 1;
     }