aboutsummaryrefslogtreecommitdiffstats
path: root/src/scanner.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2013-08-07 11:05:58 +1000
committerKristian Høgsberg <krh@bitplanet.net>2013-08-07 16:24:55 -0700
commit2b26edb877d21a26721b0d1b0c676cf67be80ada (patch)
tree152b51108ccbf43aa6f2a6dca39c3bd653acd0dc /src/scanner.c
parentscanner: support help and --help (diff)
downloadwayland-2b26edb877d21a26721b0d1b0c676cf67be80ada.tar
wayland-2b26edb877d21a26721b0d1b0c676cf67be80ada.tar.gz
wayland-2b26edb877d21a26721b0d1b0c676cf67be80ada.tar.bz2
wayland-2b26edb877d21a26721b0d1b0c676cf67be80ada.tar.lz
wayland-2b26edb877d21a26721b0d1b0c676cf67be80ada.tar.xz
wayland-2b26edb877d21a26721b0d1b0c676cf67be80ada.tar.zst
wayland-2b26edb877d21a26721b0d1b0c676cf67be80ada.zip
scanner: expand help string
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/scanner.c')
-rw-r--r--src/scanner.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scanner.c b/src/scanner.c
index ace6633..5124000 100644
--- a/src/scanner.c
+++ b/src/scanner.c
@@ -34,6 +34,10 @@ static int
usage(int ret)
{
fprintf(stderr, "usage: ./scanner [client-header|server-header|code]\n");
+ fprintf(stderr, "\n");
+ fprintf(stderr, "Converts XML protocol descriptions supplied on "
+ "stdin to client headers,\n"
+ "server headers, or protocol marshalling code.\n");
exit(ret);
}