diff options
author | John Wiegley <johnw@newartisans.com> | 2010-01-21 01:27:08 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-01-21 01:27:08 -0500 |
commit | 03de3273c9c02020d2235b784d78a37b2b5251ee (patch) | |
tree | 370314d05b0c5aaa3c1a3a2499ef3a28c91e22fb | |
parent | c6873d32aa121289e87be7eb16ff531c6d468d2a (diff) | |
download | fork-ledger-03de3273c9c02020d2235b784d78a37b2b5251ee.tar.gz fork-ledger-03de3273c9c02020d2235b784d78a37b2b5251ee.tar.bz2 fork-ledger-03de3273c9c02020d2235b784d78a37b2b5251ee.zip |
Report an error if acprep is given an unknown phase
-rwxr-xr-x | acprep | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -291,7 +291,8 @@ class PrepareBuild(CommandLineApp): if args: cmd = args[0] if not PrepareBuild.__dict__.has_key('phase_' + cmd): - cmd = 'config' + sys.stderr.write("Unknown build phase: " + cmd + "\n") + sys.exit(1) else: args = args[1:] else: |