diff options
author | kennyballou <kballou@onyx.boisestate.edu> | 2012-12-05 15:00:16 -0700 |
---|---|---|
committer | kballou <kballou@onyx.boisestate.edu> | 2012-12-05 15:00:16 -0700 |
commit | 4be119240f2e8dfef81746685387cd234c2a3ff3 (patch) | |
tree | 45871cc8abf018b016b1a631fdffda1afa9050e8 /xnt | |
parent | 0d947c60b8845a2deb57170ca0b6e06fe88d10b2 (diff) | |
download | xnt-4be119240f2e8dfef81746685387cd234c2a3ff3.tar.gz xnt-4be119240f2e8dfef81746685387cd234c2a3ff3.tar.xz |
Rename "help" target to "list-targets"
"help", as a "special" target, seems too vague as a name for its purpose.
Because I want to later add usage information, this bad naming would only
be compounded. As result, "list-targets" seems more appropriate
Diffstat (limited to 'xnt')
-rw-r--r-- | xnt/xenant.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xnt/xenant.py b/xnt/xenant.py index 7580c44..3971f6d 100644 --- a/xnt/xenant.py +++ b/xnt/xenant.py @@ -54,7 +54,7 @@ def main(): logger.info("Execution time: %.3f", elapsed_time) def invokeBuild(build, targetName): - if targetName == "help": + if targetName == "list-targets": return printTargets(build) try: target = getattr(build, targetName) |