summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-admin
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbin/bcfg2-admin')
-rwxr-xr-xsrc/sbin/bcfg2-admin4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin
index 969f7f2b0..2e5d0777b 100755
--- a/src/sbin/bcfg2-admin
+++ b/src/sbin/bcfg2-admin
@@ -525,6 +525,10 @@ if __name__ == '__main__':
print msg
raise SystemExit, 1
+ if not args:
+ print usage
+ raise SystemExit, 1
+
# First get the options...
for opt, arg in opts:
if opt in ("-h", "--help"):