[master] 33ffbbc5b Add -p option to varnishadm usage

Nils Goroll nils.goroll at uplex.de
Mon Sep 13 12:49:07 UTC 2021


commit 33ffbbc5b04849428621fc29b69d826dae3a1847
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Mon Sep 13 14:47:33 2021 +0200

    Add -p option to varnishadm usage
    
    and sort options alphabetically while being at it.
    
    Relates to ##3687

diff --git a/bin/varnishadm/varnishadm.c b/bin/varnishadm/varnishadm.c
index d95cc8845..913584bb3 100644
--- a/bin/varnishadm/varnishadm.c
+++ b/bin/varnishadm/varnishadm.c
@@ -369,8 +369,8 @@ static void v_noreturn_
 usage(int status)
 {
 	fprintf(stderr,
-	    "Usage: varnishadm [-h] [-n ident] [-t timeout] [-S secretfile] "
-	    "[-T [address]:port] [command [...]]\n");
+	    "Usage: varnishadm [-h] [-p] [-n ident] [-S secretfile] "
+	    "[-t timeout] [-T [address]:port] [command [...]]\n");
 	fprintf(stderr, "\t-n is mutually exclusive with -S and -T\n");
 	exit(status);
 }


More information about the varnish-commit mailing list