summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2011-08-02 17:56:47 +0200
committerRob Crittenden <rcritten@redhat.com>2011-08-02 02:16:54 -0400
commit07837082f4221e070c40617a5b36807ea80bed46 (patch)
treef0d015d2ef246cd3e519d236791d24cbab159602 /ipalib/plugins
parent4c9359ab625c700f150cfd8191e7181542089633 (diff)
downloadfreeipa-07837082f4221e070c40617a5b36807ea80bed46.tar.gz
freeipa-07837082f4221e070c40617a5b36807ea80bed46.tar.xz
freeipa-07837082f4221e070c40617a5b36807ea80bed46.zip
Hide continue option from automountkey-del
This option makes no sense for automount keys. This should be removed in future versions. https://fedorahosted.org/freeipa/ticket/1529
Diffstat (limited to 'ipalib/plugins')
-rw-r--r--ipalib/plugins/automount.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipalib/plugins/automount.py b/ipalib/plugins/automount.py
index d05e0cf1..e0408033 100644
--- a/ipalib/plugins/automount.py
+++ b/ipalib/plugins/automount.py
@@ -824,6 +824,14 @@ class automountkey_del(LDAPDelete):
label=_('Mount information'),
),
)
+ def get_options(self):
+ for option in self.takes_options:
+ if option.name == 'continue':
+ # TODO: hide for now - remove in future major release
+ yield option.clone(exclude='webui',
+ flags=['no_option', 'no_output'])
+ else:
+ yield option
def get_args(self):
for key in self.obj.get_ancestor_primary_keys():