pgreco / rpms / ipa

Forked from forks/areguera/rpms/ipa 4 years ago
Clone

Blame SOURCES/0061-Hide-request_type-doc-string-in-cert-request-help.patch

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