X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fterminal%2Fcommand-line.c;h=9eb23d5319f8a021aee53d71d189ff005553efab;hb=c427e8ca6b4c5d3d365b4ff3bb58a81e34efd217;hp=eb7d99fa264da30e161644ff35c5bc0a5f9d33fd;hpb=b1d443d69154707ed834fccff17a54585c84507d;p=pspp diff --git a/src/ui/terminal/command-line.c b/src/ui/terminal/command-line.c index eb7d99fa26..9eb23d5319 100644 --- a/src/ui/terminal/command-line.c +++ b/src/ui/terminal/command-line.c @@ -1,21 +1,18 @@ -/* PSPP - computes sample statistics. +/* PSPP - a program for statistical analysis. Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. - Written by Ben Pfaff . - This program is free software; you can redistribute it and/or - modify it under the terms of the GNU General Public License as - published by the Free Software Foundation; either version 2 of the - License, or (at your option) any later version. + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA - 02110-1301, USA. */ + along with this program. If not, see . */ #include #include "command-line.h" @@ -112,7 +109,7 @@ parse_command_line (int argc, char **argv, struct source_stream *ss) } break; - case 'x': + case 'x': if ( 0 == strcmp(optarg,"compatible") ) set_syntax(COMPATIBLE); else if ( 0 == strcmp(optarg,"enhanced")) @@ -194,18 +191,18 @@ parse_command_line (int argc, char **argv, struct source_stream *ss) if (process_statrc) { char *pspprc_fn = fn_search_path ("rc", config_path); - if (pspprc_fn != NULL) + if (pspprc_fn != NULL) { getl_append_source (ss, create_syntax_file_source (pspprc_fn)); - free (pspprc_fn); + free (pspprc_fn); } } for (i = optind; i < argc; i++) if (strchr (argv[i], '=')) outp_configure_macro (argv[i]); - else + else { getl_append_source (ss, create_syntax_file_source (argv[i])); syntax_files++;