[master] 2be7bb5d3 varnishadm: Add -p to the synopsis

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Tue Sep 14 11:44:06 UTC 2021


commit 2be7bb5d3e6092039e00a42e6736ef92862fdafe
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Tue Sep 14 13:41:19 2021 +0200

    varnishadm: Add -p to the synopsis
    
    Refs 33ffbbc5b048

diff --git a/bin/varnishadm/varnishadm.c b/bin/varnishadm/varnishadm.c
index 888bd2a44..1a7f7c00c 100644
--- a/bin/varnishadm/varnishadm.c
+++ b/bin/varnishadm/varnishadm.c
@@ -374,8 +374,8 @@ static void v_noreturn_
 usage(int status)
 {
 	fprintf(stderr,
-	    "Usage: varnishadm [-h] [-p] [-n ident] [-S secretfile] "
-	    "[-t timeout] [-T [address]:port] [command [...]]\n");
+	    "Usage: varnishadm [-h] [-n ident] [-p] [-S secretfile] "
+	    "[-T [address]:port] [-t timeout] [command [...]]\n");
 	fprintf(stderr, "\t-n is mutually exclusive with -S and -T\n");
 	exit(status);
 }
diff --git a/doc/sphinx/reference/varnishadm.rst b/doc/sphinx/reference/varnishadm.rst
index a0bb09c64..4d89b52f3 100644
--- a/doc/sphinx/reference/varnishadm.rst
+++ b/doc/sphinx/reference/varnishadm.rst
@@ -19,7 +19,7 @@ Control a running Varnish instance
 SYNOPSIS
 ========
 
-varnishadm [-h] [-n ident] [-t timeout] [-S secretfile] [-T [address]:port] [command [...]]
+varnishadm [-h] [-n ident] [-p] [-S secretfile] [-T [address]:port] [-t timeout] [command [...]]
 
 
 DESCRIPTION


More information about the varnish-commit mailing list