diff --git a/tools/shared.c b/tools/shared.c index c8793b3e..e0eae681 100644 --- a/tools/shared.c +++ b/tools/shared.c @@ -561,8 +561,7 @@ tools_exec_command(const char *prefix, int real_argc, char **real_argv) if (rc) { if (errno == ENOENT) { fprintf(stderr, - "libinput: %s is not a libinput command or not installed. " - "See 'libinput --help'\n", + "libinput: %s is not installed.", command); return EXIT_INVALID_USAGE; } else { diff --git a/tools/test_tool_option_parsing.py b/tools/test_tool_option_parsing.py index f506a217..d059d914 100755 --- a/tools/test_tool_option_parsing.py +++ b/tools/test_tool_option_parsing.py @@ -105,7 +105,7 @@ class LibinputTool(object): rc, stdout, stderr = self.run_command(args) assert rc == 2, (rc, stdout, stderr) assert stdout.startswith('Usage') or stdout == '' - assert 'is not a libinput command' in stderr + assert 'is not installed' in stderr class LibinputDebugGui(LibinputTool):