summaryrefslogtreecommitdiff
path: root/tools/shared.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-05-25 15:42:46 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-06-02 12:21:35 +1000
commit2d42e87debc5cb659d09ee5fb315b76201a05829 (patch)
tree7ca788c9a3618899bc801562b7532e154fb12d84 /tools/shared.h
parenta69294251df92e818f695cd2456c8eb860e02522 (diff)
downloadlibinput-2d42e87debc5cb659d09ee5fb315b76201a05829.tar.gz
tools: tidy up the usage() for the tools a bit
Now that the debug-gui is a user-visible tool, make sure the usage reflects the right command name. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/shared.h')
-rw-r--r--tools/shared.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/shared.h b/tools/shared.h
index f3a10db9..4d6e700e 100644
--- a/tools/shared.h
+++ b/tools/shared.h
@@ -65,10 +65,13 @@ struct tools_context {
};
void tools_init_context(struct tools_context *context);
-int tools_parse_args(int argc, char **argv, struct tools_context *context);
+int tools_parse_args(const char *command,
+ int argc,
+ char **argv,
+ struct tools_context *context);
struct libinput* tools_open_backend(struct tools_context *context);
void tools_device_apply_config(struct libinput_device *device,
struct tools_options *options);
-void tools_usage(void);
+void tools_usage(const char *command);
#endif