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

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