[master] 1eabc6d Emit --optstring documentation in VUT's --options
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Mon Oct 30 16:10:09 UTC 2017
commit 1eabc6d724ab494276615120817f36432d098341
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Mon Oct 9 19:06:28 2017 +0200
Emit --optstring documentation in VUT's --options
diff --git a/lib/libvarnishapi/vut.c b/lib/libvarnishapi/vut.c
index 61b5a2f..46b2aa1 100644
--- a/lib/libvarnishapi/vut.c
+++ b/lib/libvarnishapi/vut.c
@@ -489,5 +489,8 @@ vut_options(const struct vopt_spec *voc)
for (i = 0; i < voc->vopt_list_n; i++)
print_opt(&voc->vopt_list[i]);
+ printf("--optstring\n"
+ "\tPrint the optstring parameter to ``getopt(3)`` to help"
+ " writing wrapper scripts.\n\n");
return (0);
}
More information about the varnish-commit
mailing list