mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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@suse.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
1 parent
7fb8e76f39
commit
a772a005ed
1 file changed
+1
-1
@@ -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);
|
||||
|
||||