From 9c41e797759c764a3dade1a83e74a9680c6476ca Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Wed, 16 Sep 2020 12:23:00 +0200
Subject: [PATCH] Display correct max subdomain length

---
 openappstack/__main__.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/openappstack/__main__.py b/openappstack/__main__.py
index 8ae4bd143..ea810006e 100755
--- a/openappstack/__main__.py
+++ b/openappstack/__main__.py
@@ -132,7 +132,8 @@ def main():  # pylint: disable=too-many-statements,too-many-branches,too-many-lo
     droplet_creation_group.add_argument(
         '--truncate-subdomain',
         action='store_true',
-        help=('Truncate subdomain so subdomain and domain are shorter than 56 characters.'))
+        help=('Truncate subdomain so subdomain and domain are shorter than '
+              '{} characters.'.format(MAX_DOMAIN_LENGTH)))
 
     droplet_creation_group.add_argument(
         '--acme-staging',
-- 
GitLab