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