summaryrefslogtreecommitdiff
path: root/printutils/lpr.c
diff options
context:
space:
mode:
authorPere Orga2011-04-11 03:29:49 +0200
committerDenys Vlasenko2011-04-11 03:29:49 +0200
commit5bc8c005a8e15c43285bc595a8d404de67a482ac (patch)
tree98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /printutils/lpr.c
parent73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff)
downloadbusybox-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip
busybox-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'printutils/lpr.c')
-rw-r--r--printutils/lpr.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/printutils/lpr.c b/printutils/lpr.c
index 2849179..f8ee9a1 100644
--- a/printutils/lpr.c
+++ b/printutils/lpr.c
@@ -11,6 +11,27 @@
*
* See RFC 1179 for protocol description.
*/
+
+//usage:#define lpr_trivial_usage
+//usage: "-P queue[@host[:port]] -U USERNAME -J TITLE -Vmh [FILE]..."
+/* -C CLASS exists too, not shown.
+ * CLASS is supposed to be printed on banner page, if one is requested */
+//usage:#define lpr_full_usage "\n\n"
+//usage: "Options:"
+//usage: "\n -P lp service to connect to (else uses $PRINTER)"
+//usage: "\n -m Send mail on completion"
+//usage: "\n -h Print banner page too"
+//usage: "\n -V Verbose"
+//usage:
+//usage:#define lpq_trivial_usage
+//usage: "[-P queue[@host[:port]]] [-U USERNAME] [-d JOBID]... [-fs]"
+//usage:#define lpq_full_usage "\n\n"
+//usage: "Options:"
+//usage: "\n -P lp service to connect to (else uses $PRINTER)"
+//usage: "\n -d Delete jobs"
+//usage: "\n -f Force any waiting job to be printed"
+//usage: "\n -s Short display"
+
#include "libbb.h"
/*