projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reworked settings so as to use one large struct instead of lots of static
[pspp-builds.git]
/
src
/
ui
/
terminal
/
command-line.c
diff --git
a/src/ui/terminal/command-line.c
b/src/ui/terminal/command-line.c
index 71d42a0483d5c159ea68a6521d6f888d1a08b112..95b22cebf8bea93995e87833ed3fec52bf64f044 100644
(file)
--- a/
src/ui/terminal/command-line.c
+++ b/
src/ui/terminal/command-line.c
@@
-96,9
+96,9
@@
parse_command_line (int argc, char **argv, struct source_stream *ss)
/* Compatibility options */
case 'a':
if ( 0 == strcmp(optarg,"compatible") )
/* Compatibility options */
case 'a':
if ( 0 == strcmp(optarg,"compatible") )
- set_algorithm(COMPATIBLE);
+ set
tings_set
_algorithm(COMPATIBLE);
else if ( 0 == strcmp(optarg,"enhanced"))
else if ( 0 == strcmp(optarg,"enhanced"))
- set_algorithm(ENHANCED);
+ set
tings_set
_algorithm(ENHANCED);
else
{
usage ();
else
{
usage ();
@@
-108,9
+108,9
@@
parse_command_line (int argc, char **argv, struct source_stream *ss)
case 'x':
if ( 0 == strcmp(optarg,"compatible") )
case 'x':
if ( 0 == strcmp(optarg,"compatible") )
- set
_syntax
(COMPATIBLE);
+ set
tings_set_syntax
(COMPATIBLE);
else if ( 0 == strcmp(optarg,"enhanced"))
else if ( 0 == strcmp(optarg,"enhanced"))
- set
_syntax
(ENHANCED);
+ set
tings_set_syntax
(ENHANCED);
else
{
usage ();
else
{
usage ();
@@
-162,7
+162,7
@@
parse_command_line (int argc, char **argv, struct source_stream *ss)
process_statrc = false;
break;
case 's':
process_statrc = false;
break;
case 's':
- set_safer_mode ();
+ set
tings_set
_safer_mode ();
break;
case 'v':
verbose_increment_level ();
break;
case 'v':
verbose_increment_level ();
@@
-172,7
+172,7
@@
parse_command_line (int argc, char **argv, struct source_stream *ss)
puts (legal);
return false;
case 'T':
puts (legal);
return false;
case 'T':
- set_testing_mode (true);
+ set
tings_set
_testing_mode (true);
break;
case '?':
usage ();
break;
case '?':
usage ();