From 4889f550df2acaaec1697d54dc3631a5c6fc53cf Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 6 Jul 2020 16:07:11 +1000 Subject: tools: always print the rmlvo-to-keymap outcome The most common case for this tool is to check what the keymap is for a given RMLVO. Let's print that by default, the use-cases that just check for compilation success can discard stdout instead. Signed-off-by: Peter Hutterer --- tools/rmlvo-to-keymap.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'tools') diff --git a/tools/rmlvo-to-keymap.c b/tools/rmlvo-to-keymap.c index 3a98527..54591bf 100644 --- a/tools/rmlvo-to-keymap.c +++ b/tools/rmlvo-to-keymap.c @@ -33,22 +33,18 @@ #include "xkbcommon/xkbcommon.h" -static bool print = false; - static void usage(char **argv) { - printf("Usage: %s [--print] [--rules ] [--layout ] [--variant ] [--options