aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yapymake/args.py3
-rw-r--r--yapymake/makefile/__init__.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/yapymake/args.py b/yapymake/args.py
index 3f9d842..60aafe8 100644
--- a/yapymake/args.py
+++ b/yapymake/args.py
@@ -26,6 +26,7 @@ parser.add_argument('--makefile', '--file', '-f',
parser.add_argument('--ignore-errors', '-i',
action='store_true',
help='Ignore error codes returned by invoked commands.')
+# TODO implement keep-going
parser.add_argument('--keep-going', '-k',
action='store_true',
help='Continue to update other targets that do not depend on the current target if a non-ignored '
@@ -37,6 +38,7 @@ parser.add_argument('--dry-run', '--just-print', '--recon', '-n',
parser.add_argument('--print-everything', '--print-data-base', '-p',
action='store_true',
help='Write to standard output the complete set of macro definitions and target descriptions.')
+# TODO implement question
parser.add_argument('--question', '-q',
action='store_true',
help='Return a zero exit value if the target file is up-to-date; otherwise, return an exit value '
@@ -53,6 +55,7 @@ parser.add_argument('--no-keep-going', '--stop', '-S',
parser.add_argument('--silent', '--quiet', '-s',
action='store_true',
help='Do not write makefile command lines or touch messages to standard output before executing.')
+# TODO implement touch
parser.add_argument('--touch', '-t',
action='store_true',
help='Update the modification time of each target as though a touch target had been executed.')
diff --git a/yapymake/makefile/__init__.py b/yapymake/makefile/__init__.py
index a3e65d7..7d0125c 100644
--- a/yapymake/makefile/__init__.py
+++ b/yapymake/makefile/__init__.py
@@ -504,7 +504,6 @@ class CommandLine:
# > an error message to standard error.
if not ignore_errors and result != 0:
print('error!', file=sys.stderr)
- # TODO implement keep-going
sys.exit(1)
BUILTIN_INFERENCE_RULES = [