aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-18 14:09:14 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-18 14:09:14 +0100
commitf20cacf6dc20a60d5512b08aba49b4d6bc1cdc7f (patch)
treecd56ef2721a558ebee781b87a623452f684fa592 /tools/libxl/xl.h
parent20ad53b196b3a11969e6891f70647788a339605a (diff)
downloadxen-f20cacf6dc20a60d5512b08aba49b4d6bc1cdc7f.tar.gz
xen-f20cacf6dc20a60d5512b08aba49b4d6bc1cdc7f.tar.bz2
xen-f20cacf6dc20a60d5512b08aba49b4d6bc1cdc7f.zip
xl: allow truncation of xl subcommands
for those of us who are used to typing "xm cr foo" Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
Diffstat (limited to 'tools/libxl/xl.h')
-rw-r--r--tools/libxl/xl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/libxl/xl.h b/tools/libxl/xl.h
index 88561b5a82..df5ce03087 100644
--- a/tools/libxl/xl.h
+++ b/tools/libxl/xl.h
@@ -80,6 +80,8 @@ void help(char *command);
extern struct cmd_spec cmd_table[];
extern int cmdtable_len;
+/* Look up a command in the table, allowing unambiguous truncation */
+struct cmd_spec *cmdtable_lookup(const char *s);
extern struct libxl_ctx ctx;
extern xentoollog_logger_stdiostream *logger;