From a772a005eda6321349ed27fc9a8ccfa0c669577e Mon Sep 17 00:00:00 2001 From: Juergen Gross Date: Thu, 12 Mar 2026 16:51:01 +0100 Subject: [PATCH] tools/xs-clients: fix usage information of xenstore-exists The usage information of xenstore-exists is just wrong, as the "-p" option is not supported by xenstore-exists. Signed-off-by: Juergen Gross Reviewed-by: Andrew Cooper --- tools/xs-clients/xenstore_client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xs-clients/xenstore_client.c b/tools/xs-clients/xenstore_client.c index d15390933a..b02597a506 100644 --- a/tools/xs-clients/xenstore_client.c +++ b/tools/xs-clients/xenstore_client.c @@ -232,7 +232,7 @@ usage(int err_val, enum mode mode, int incl_mode, const char *progname) errx(err_val, "Usage: %s %s[-h] [-t] key [...]", progname, mstr); case MODE_exists: mstr = incl_mode ? "exists " : ""; - /* fallthrough */ + errx(err_val, "Usage: %s %s[-h] key", progname, mstr); case MODE_list: mstr = mstr ? : incl_mode ? "list " : ""; errx(err_val, "Usage: %s %s[-h] [-p] key [...]", progname, mstr);