[master] 95b10d1ba param: Consistent formatting of flag notices

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Mon Dec 13 17:08:08 UTC 2021


commit 95b10d1baaf6768de827e67cc6b9c228fb7fd0e7
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Mon Dec 13 08:40:56 2021 +0100

    param: Consistent formatting of flag notices

diff --git a/bin/varnishd/mgt/mgt_param.c b/bin/varnishd/mgt/mgt_param.c
index 308015ced..dff2ea78d 100644
--- a/bin/varnishd/mgt/mgt_param.c
+++ b/bin/varnishd/mgt/mgt_param.c
@@ -101,10 +101,12 @@ static const char ONLY_ROOT_TEXT[] =
 	"NB: This parameter only works if varnishd is run as root.";
 
 static const char NOT_IMPLEMENTED_TEXT[] =
-	"This parameter depends on a feature which is not available"
+	"\n\n"
+	"NB: This parameter depends on a feature which is not available"
 	" on this platform.";
 
 static const char PLATFORM_DEPENDENT_TEXT[] =
+	"\n\n"
 	"NB: This parameter depends on a feature which is not available"
 	" on all platforms.";
 


More information about the varnish-commit mailing list