X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fterminal%2Fterminal-opts.c;h=929fd3878defb8c4f0a02b3f70982d1cc4ec7c8c;hb=c75794cffb05769b71a346af8513a3e8dde55f94;hp=306ebe1523d5b674e729f44ae8a51acd50eb9b8a;hpb=d01297fc4e5e2c48ca66c00cd78569217a5b5bc1;p=pspp diff --git a/src/ui/terminal/terminal-opts.c b/src/ui/terminal/terminal-opts.c index 306ebe1523..929fd3878d 100644 --- a/src/ui/terminal/terminal-opts.c +++ b/src/ui/terminal/terminal-opts.c @@ -185,7 +185,7 @@ usage (void) char *supported_formats = get_supported_formats (); char *default_include_path = get_default_include_path (); - printf ("\ + printf (_("\ PSPP, a program for statistical analysis of sample data.\n\ Usage: %s [OPTION]... FILE...\n\ \n\ @@ -217,7 +217,7 @@ Informative output:\n\ -h, --help display this help and exit\n\ -V, --version output version information and exit\n\ \n\ -Non-option arguments are interpreted as syntax files to execute.\n", +Non-option arguments are interpreted as syntax files to execute.\n"), program_name, supported_formats, default_include_path); free (supported_formats); @@ -273,7 +273,7 @@ terminal_option_callback (int id, void *to_) case OPT_VERSION: version_etc (stdout, "pspp", PACKAGE_NAME, PACKAGE_VERSION, "Ben Pfaff", "John Darrington", "Jason Stover", - (char *) NULL); + NULL); exit (EXIT_SUCCESS); default: @@ -286,7 +286,7 @@ terminal_opts_init (struct argv_parser *ap, struct source_stream *ss) { struct terminal_opts *to; - to = xmalloc (sizeof *to); + to = xzalloc (sizeof *to); to->source_stream = ss; to->syntax_mode = GETL_BATCH; string_map_init (&to->options);