X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fcmdline.c;h=ac33ee4aaa7ee43e451efca6ca36e35551c1ae0b;hb=5382abe75bbd1689aca8c922fbf084af9f6bd723;hp=cd29b9903de3c0b12230da62b1f4264221fb9c0d;hpb=79240dcf50d4d2f9b2742ff4638d8cf8969c2f98;p=pspp diff --git a/src/cmdline.c b/src/cmdline.c index cd29b9903d..ac33ee4aaa 100644 --- a/src/cmdline.c +++ b/src/cmdline.c @@ -18,6 +18,7 @@ 02111-1307, USA. */ #include +#include "cmdline.h" #include #include #include @@ -108,7 +109,8 @@ parse_command_line (int argc, char **argv) config_path = optarg; break; case 'f': - printf (_("-f not yet implemented\n")); + printf(_("%s is not yet implemented."), "-f"); + putchar('\n'); break; case 'h': usage (); @@ -126,7 +128,8 @@ parse_command_line (int argc, char **argv) outp_list_classes (); err_hcf (1); case 'n': - printf (_("-n not yet implemented\n")); + printf (_("%s is not yet implemented."),"-n"); + putchar('\n'); break; case 'o': if (!cleared_device_defaults) @@ -137,7 +140,8 @@ parse_command_line (int argc, char **argv) outp_configure_add (optarg); break; case 'p': - printf (_("-p not yet implemented\n")); + printf (_("%s is not yet implemented."),"-p"); + putchar('\n'); break; case 'r': no_statrc = 1; @@ -242,8 +246,7 @@ N_("PSPP, a program for statistical analysis of sample data.\n" "\n"); /* Message that describes PSPP command-line syntax, continued. */ -static const char post_syntax_message[] = -N_("\nReport bugs to .\n"); +static const char post_syntax_message[] = N_("\nReport bugs to <%s>.\n"); /* Writes a syntax description to stdout and terminates. */ static void @@ -251,7 +254,7 @@ usage (void) { printf (gettext (pre_syntax_message), pgmname); outp_list_classes (); - printf (gettext (post_syntax_message)); + printf (gettext (post_syntax_message),PACKAGE_BUGREPORT); err_hcf (1); }