summaryrefslogtreecommitdiffstats
path: root/ipa-admintools/ipa-findgroup
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-admintools/ipa-findgroup')
-rw-r--r--ipa-admintools/ipa-findgroup4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipa-admintools/ipa-findgroup b/ipa-admintools/ipa-findgroup
index b5a5f0766..e10228679 100644
--- a/ipa-admintools/ipa-findgroup
+++ b/ipa-admintools/ipa-findgroup
@@ -30,7 +30,7 @@ import xmlrpclib
import kerberos
def usage():
- print "ipa-findgroup <group_name>"
+ print "ipa-findgroup [-a|--all] [-n|--notranslate] group"
sys.exit()
def parse_options():
@@ -51,7 +51,7 @@ def main():
group={}
options, args = parse_options()
- if len(args) != 2:
+ if options.usage or len(args) != 2:
usage()
try: