|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH v2 7/8] 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>
---
V2:
- new patch
---
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 1794451d43..3b02d3a196 100644
--- a/tools/xs-clients/xenstore_client.c
+++ b/tools/xs-clients/xenstore_client.c
@@ -232,7 +232,7 @@ usage(int eval, enum mode mode, int incl_mode, const char
*progname)
errx(eval, "Usage: %s %s[-h] [-t] key [...]", progname, mstr);
case MODE_exists:
mstr = incl_mode ? "exists " : "";
- /* fallthrough */
+ errx(eval, "Usage: %s %s[-h] key", progname, mstr);
case MODE_list:
mstr = mstr ? : incl_mode ? "list " : "";
errx(eval, "Usage: %s %s[-h] [-p] key [...]", progname, mstr);
--
2.53.0
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |