Blame SOURCES/less-458-lessecho-usage.patch
|
|
72323b |
diff -upr less-458_orig/lessecho.c less-458_work/lessecho.c
|
|
|
72323b |
--- less-458_orig/lessecho.c 2013-05-07 14:03:52.091104655 +0200
|
|
|
72323b |
+++ less-458_work/lessecho.c 2013-05-07 11:21:10.883991862 +0200
|
|
|
72323b |
@@ -41,7 +41,27 @@ static int num_metachars = 0;
|
|
|
72323b |
pr_usage()
|
|
|
72323b |
{
|
|
|
72323b |
fprintf(stderr,
|
|
|
72323b |
- "usage: lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-fn] [-a] file ...\n");
|
|
|
72323b |
+ "usage: lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-fn] [-a] file ...\n\n");
|
|
|
72323b |
+ fprintf(stderr,
|
|
|
72323b |
+ " -ox\t- specifies \"x\" to be the open quote character\n");
|
|
|
72323b |
+ fprintf(stderr,
|
|
|
72323b |
+ " -cx\t- specifies \"x\" to be the close quote character\n");
|
|
|
72323b |
+ fprintf(stderr,
|
|
|
72323b |
+ " -pn\t- specifies \"n\" to be the open quote character, as an integer\n");
|
|
|
72323b |
+ fprintf(stderr,
|
|
|
72323b |
+ " -dn\t- specifies \"n\" to be the close quote character, as an integer\n");
|
|
|
72323b |
+ fprintf(stderr,
|
|
|
72323b |
+ " -mx\t- specifies \"x\" to be a metachar\n");
|
|
|
72323b |
+ fprintf(stderr,
|
|
|
72323b |
+ " -nn\t- specifies \"n\" to be a metachar, as an integer\n");
|
|
|
72323b |
+ fprintf(stderr,
|
|
|
72323b |
+ " -ex\t- specifies \"x\" to be the escape char for metachars\n");
|
|
|
72323b |
+ fprintf(stderr,
|
|
|
72323b |
+ " -fn\t- specifies \"n\" to be the escape char for metachars, as an integer\n");
|
|
|
72323b |
+ fprintf(stderr,
|
|
|
72323b |
+ " -a\t- specifies that all arguments are to be quoted\n");
|
|
|
72323b |
+ fprintf(stderr,
|
|
|
72323b |
+ " -?\t- prints this help\n");
|
|
|
72323b |
}
|
|
|
72323b |
|
|
|
72323b |
static void
|
|
|
72323b |
|