ac7d03
From 9a6731643f1b0e3c47df13866109323ddd4c5db0 Mon Sep 17 00:00:00 2001
ac7d03
From: Abhijeet Kasurde <akasurde@redhat.com>
ac7d03
Date: Sat, 18 Feb 2017 16:31:07 +0530
ac7d03
Subject: [PATCH] Hide request_type doc string in cert-request help
ac7d03
ac7d03
Fix hides description of request_type argument in cert-request
ac7d03
command help
ac7d03
ac7d03
Fixes https://pagure.io/freeipa/issue/6494
ac7d03
Fixes https://pagure.io/freeipa/issue/5734
ac7d03
ac7d03
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
ac7d03
Reviewed-By: Martin Basti <mbasti@redhat.com>
ac7d03
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
ac7d03
---
ac7d03
 ipaserver/plugins/cert.py | 2 +-
ac7d03
 1 file changed, 1 insertion(+), 1 deletion(-)
ac7d03
ac7d03
diff --git a/ipaserver/plugins/cert.py b/ipaserver/plugins/cert.py
ac7d03
index 1a6d04533cebb2eb00022981dae9ffe5b785ba8b..dfc7444ddbf31ac3c194e050af28220fc2a87a92 100644
ac7d03
--- a/ipaserver/plugins/cert.py
ac7d03
+++ b/ipaserver/plugins/cert.py
ac7d03
@@ -491,7 +491,7 @@ class certreq(BaseCertObject):
ac7d03
             'request_type',
ac7d03
             default=u'pkcs10',
ac7d03
             autofill=True,
ac7d03
-            flags={'no_update', 'no_update', 'no_search'},
ac7d03
+            flags={'no_option', 'no_update', 'no_update', 'no_search'},
ac7d03
         ),
ac7d03
         Str(
ac7d03
             'profile_id?', validate_profile_id,
ac7d03
-- 
ac7d03
2.12.2
ac7d03