mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Don't include INTERNAL commands in ipa help commands output.
ticket 463
This commit is contained in:
committed by
Adam Young
parent
e1888f82c4
commit
1db42b5461
@@ -658,6 +658,8 @@ class help(frontend.Local):
|
||||
mcl = max(len(s) for s in (self.Command))
|
||||
for cname in self.Command:
|
||||
cmd = self.Command[cname]
|
||||
if cmd.INTERNAL:
|
||||
continue
|
||||
print '%s %s' % (to_cli(cmd.name).ljust(mcl), cmd.summary)
|
||||
else:
|
||||
raise HelpError(topic=name)
|
||||
|
||||
Reference in New Issue
Block a user