Blame SOURCES/less-458-lesskey-usage.patch

520c3a
diff -upr less-458_orig/lesskey.c less-458_work/lesskey.c
520c3a
--- less-458_orig/lesskey.c	2013-05-07 14:03:52.062104533 +0200
520c3a
+++ less-458_work/lesskey.c	2013-05-07 11:21:10.881991855 +0200
520c3a
@@ -217,7 +217,15 @@ extern char version[];
520c3a
 	void
520c3a
 usage(VOID_PARAM)
520c3a
 {
520c3a
-	fprintf(stderr, "usage: lesskey [-o output] [input]\n");
520c3a
+	fprintf(stderr, "usage: lesskey [-o output] [input]\n\n");
520c3a
+	fprintf(stderr,
520c3a
+			"  -o output\t- specify output file, otherwise $HOME/.less is used\n");
520c3a
+	fprintf(stderr,
520c3a
+			"  -i input\t- specify input file, otherwise standard input is used\n");
520c3a
+	fprintf(stderr,
520c3a
+			"  -V\t\t- print lesskey version\n");
520c3a
+	fprintf(stderr,
520c3a
+			"  -h\t\t- print this help\n");
520c3a
 	exit(1);
520c3a
 }
520c3a