summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-deldelegation
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-01-31 10:52:05 -0500
committerRob Crittenden <rcritten@redhat.com>2008-01-31 10:52:05 -0500
commit64cce8f82e08f0716eec3fd4c1f3c0fccf309fba (patch)
treeeea4477c5de7caf07809b5f893f0d8972f1bccc2 /ipa-admintools/ipa-deldelegation
parentae5cb78ab804f289b1b0c05cc0cf219585c990ac (diff)
downloadfreeipa-64cce8f82e08f0716eec3fd4c1f3c0fccf309fba.tar.gz
freeipa-64cce8f82e08f0716eec3fd4c1f3c0fccf309fba.tar.xz
freeipa-64cce8f82e08f0716eec3fd4c1f3c0fccf309fba.zip
Handle the --usage option by actually displaying the usage
Fix some missing options in --usage Remove a few debugging statements Resolves 430704
Diffstat (limited to 'ipa-admintools/ipa-deldelegation')
-rw-r--r--ipa-admintools/ipa-deldelegation3
1 files changed, 1 insertions, 2 deletions
diff --git a/ipa-admintools/ipa-deldelegation b/ipa-admintools/ipa-deldelegation
index 030d462f..07613d56 100644
--- a/ipa-admintools/ipa-deldelegation
+++ b/ipa-admintools/ipa-deldelegation
@@ -51,8 +51,7 @@ def main():
options, args = parse_options()
- if len(args) != 2:
- print "args is %s" % len(args)
+ if options.usage or len(args) != 2:
usage()
client = ipaclient.IPAClient()