[master] 0e13b705e Don't show an empty "Flags: " list for parameters
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Wed Mar 4 11:21:07 UTC 2020
commit 0e13b705eafdc2bfa1cc29a660dd75227e179212
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Wed Mar 4 12:18:57 2020 +0100
Don't show an empty "Flags: " list for parameters
diff --git a/bin/varnishd/mgt/mgt_param.c b/bin/varnishd/mgt/mgt_param.c
index 27610d57c..bbd8700ec 100644
--- a/bin/varnishd/mgt/mgt_param.c
+++ b/bin/varnishd/mgt/mgt_param.c
@@ -781,7 +781,7 @@ MCF_DumpRstParam(void)
* XXX: that say if ->min/->max are valid, so we
* XXX: can emit those also in help texts.
*/
- if (pp->flags) {
+ if (pp->flags & ~NOT_IMPLEMENTED) {
printf("\t* Flags: ");
q = "";
More information about the varnish-commit
mailing list