diff options
author | Robert Gogolok <gogo@cs.uni-sb.de> | 2007-12-29 22:29:09 +0000 |
---|---|---|
committer | Robert Gogolok <gogo@cs.uni-sb.de> | 2007-12-29 22:29:09 +0000 |
commit | 6e6a2362c390d9bd405b191b43c529709fb58083 (patch) | |
tree | 5b5da05d2ce9cd9c9c41269f881c1404caccc96a /src/sbin | |
parent | 50264dd8ea07c7e2fc412c9d91a1e83493119646 (diff) | |
download | bcfg2-6e6a2362c390d9bd405b191b43c529709fb58083.tar.gz bcfg2-6e6a2362c390d9bd405b191b43c529709fb58083.tar.bz2 bcfg2-6e6a2362c390d9bd405b191b43c529709fb58083.zip |
bcfg2-admin: print usage if no arguments
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4129 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/sbin')
-rwxr-xr-x | src/sbin/bcfg2-admin | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin index d7ad02d3a..d4f30075f 100755 --- a/src/sbin/bcfg2-admin +++ b/src/sbin/bcfg2-admin @@ -27,11 +27,10 @@ if __name__ == '__main__': print msg raise SystemExit(1) - if not args: - print usage - raise SystemExit(1) help = False + if not args: + help = True # First get the options... for opt, arg in opts: if opt in ("-h", "--help"): |