diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-05-24 14:26:57 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-05-24 14:26:57 -0400 |
commit | 827ce2f68b75f49fb95dfd3d9b19c6d2f108c325 (patch) | |
tree | 5e0cb52840f9278fe92be4e42fc8996bb6f8156a | |
parent | f76b7a6ba133591612a75430ffb494bf42795610 (diff) | |
download | ipsutils-827ce2f68b75f49fb95dfd3d9b19c6d2f108c325.tar.gz |
If no spec file is passed, print usage message then exit
-rwxr-xr-x | ipsbuild.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipsbuild.py b/ipsbuild.py index 7680f8b..7ce11f9 100755 --- a/ipsbuild.py +++ b/ipsbuild.py @@ -34,3 +34,6 @@ if args.spec: build.show_summary() build.controller.do_tasks() os.chdir(cwd) +else: + print("For detailed usage information:\n\t--help or -h") +exit(0) |