From 4d7c0552bd780d896507540b1ca88a82fd9105a3 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sat, 22 Jun 2019 00:04:34 -0400 Subject: [PATCH] Fix help text of the platformtemplate command Signed-off-by: Roberto Rosario --- HISTORY.rst | 1 + docs/releases/3.2.4.rst | 2 +- mayan/apps/platform/management/commands/platformtemplate.py | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index e638e77207..eda8594a63 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -2,6 +2,7 @@ ================== * Support configurable GUnicorn timeouts. Defaults to current value of 120 seconds. +* Fix help text of the platformtemplate command. 3.2.3 (2019-06-21) ================== diff --git a/docs/releases/3.2.4.rst b/docs/releases/3.2.4.rst index 3220236ed3..9db3ec8308 100644 --- a/docs/releases/3.2.4.rst +++ b/docs/releases/3.2.4.rst @@ -9,7 +9,7 @@ Changes - Support configurable GUnicorn timeouts. Defaults to current value of 120 seconds. - +- Fix help text of the platformtemplate command. Removals -------- diff --git a/mayan/apps/platform/management/commands/platformtemplate.py b/mayan/apps/platform/management/commands/platformtemplate.py index f76fcc8c7e..3517d5c14a 100644 --- a/mayan/apps/platform/management/commands/platformtemplate.py +++ b/mayan/apps/platform/management/commands/platformtemplate.py @@ -16,7 +16,8 @@ class Command(management.BaseCommand): ) parser.add_argument( '--context', action='store', default='', dest='context', - help='Show a list of available templates.', + help='Pass a context to the template in the form of a JSON encoded ' + 'dictionary.', ) def handle(self, *args, **options):