Create an OTP help topic

This allows the various OTP related commands to be grouped together
in the IPA CLI documentation.

Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
This commit is contained in:
Nathaniel McCallum
2014-12-05 13:44:51 +01:00
committed by Petr Vobornik
parent 9baa93da1c
commit b01767c69d
3 changed files with 7 additions and 0 deletions
+2
View File
@@ -49,6 +49,8 @@ EXAMPLES:
register = Registry()
topic = ('otp', _('One time password commands'))
@register()
class otpconfig(LDAPObject):
+2
View File
@@ -61,6 +61,8 @@ EXAMPLES:
register = Registry()
topic = ('otp', _('One time password commands'))
TOKEN_TYPES = {
u'totp': ['ipatokentotpclockoffset', 'ipatokentotptimestep'],
u'hotp': ['ipatokenhotpcounter']
+3
View File
@@ -44,6 +44,9 @@ EXAMPLES:
register = Registry()
topic = ('otp', _('One time password commands'))
@register()
class otptoken_add_yubikey(Command):
__doc__ = _('Add a new YubiKey OTP token.')