|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] tools/xs-clients: fix usage information of xenstore-exists
commit a772a005eda6321349ed27fc9a8ccfa0c669577e
Author: Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Thu Mar 12 16:51:01 2026 +0100
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Fri Mar 13 17:18:04 2026 +0000
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 <jgross@xxxxxxxx>
Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
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);
--
generated by git-patchbot for /home/xen/git/xen.git#staging
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |