summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-05-05 20:19:00 -0400
committerPaul Smith <psmith@gnu.org>2013-05-05 20:19:00 -0400
commit15f795793906ac8b184b5cf9dcbe515ba9df92ef (patch)
tree05edfefadbb99410198d1c280fc40e3a1a501380 /main.c
parent1d992d8fe75f5dbc832cbcfe82e3f56489f7df54 (diff)
downloadgunmake-15f795793906ac8b184b5cf9dcbe515ba9df92ef.tar.gz
Rename the -O "job" mode to "line" and "make" to "recurse".
Diffstat (limited to 'main.c')
-rw-r--r--main.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/main.c b/main.c
index be3d190..f954b3c 100644
--- a/main.c
+++ b/main.c
@@ -517,9 +517,9 @@ int second_expansion;
int one_shell;
-/* Either OUTPUT_SYNC_TARGET or OUTPUT_SYNC_MAKE if the "--output-sync" option
- was given. This attempts to synchronize the output of parallel jobs such
- that the results of each job stay together. */
+/* One of OUTPUT_SYNC_* if the "--output-sync" option was given. This
+ attempts to synchronize the output of parallel jobs such that the results
+ of each job stay together. */
int output_sync;
@@ -697,12 +697,12 @@ decode_output_sync_flags (void)
if (streq (p, "none"))
output_sync = OUTPUT_SYNC_NONE;
- else if (streq (p, "job"))
- output_sync = OUTPUT_SYNC_JOB;
+ else if (streq (p, "line"))
+ output_sync = OUTPUT_SYNC_LINE;
else if (streq (p, "target"))
output_sync = OUTPUT_SYNC_TARGET;
- else if (streq (p, "make"))
- output_sync = OUTPUT_SYNC_MAKE;
+ else if (streq (p, "recurse"))
+ output_sync = OUTPUT_SYNC_RECURSE;
else
fatal (NILF, _("unknown output-sync type '%s'"), p);
}