diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-01-31 10:52:05 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-01-31 10:52:05 -0500 |
commit | 64cce8f82e08f0716eec3fd4c1f3c0fccf309fba (patch) | |
tree | eea4477c5de7caf07809b5f893f0d8972f1bccc2 /ipa-admintools/ipa-deldelegation | |
parent | ae5cb78ab804f289b1b0c05cc0cf219585c990ac (diff) | |
download | freeipa-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-deldelegation | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ipa-admintools/ipa-deldelegation b/ipa-admintools/ipa-deldelegation index 030d462ff..07613d564 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() |