summaryrefslogtreecommitdiffhomepage
path: root/printutils/lpd.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-04-11 03:29:49 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-11 03:29:49 +0200
commit5bc8c005a8e15c43285bc595a8d404de67a482ac (patch)
tree98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /printutils/lpd.c
parent73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff)
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/lpd.c')
-rw-r--r--printutils/lpd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/printutils/lpd.c b/printutils/lpd.c
index 157cbe8ae..115552e0b 100644
--- a/printutils/lpd.c
+++ b/printutils/lpd.c
@@ -70,6 +70,17 @@
* mv -f ./"$DATAFILE" save/
*/
+//usage:#define lpd_trivial_usage
+//usage: "SPOOLDIR [HELPER [ARGS]]"
+//usage:#define lpd_full_usage "\n\n"
+//usage: "SPOOLDIR must contain (symlinks to) device nodes or directories"
+//usage: "\nwith names matching print queue names. In the first case, jobs are"
+//usage: "\nsent directly to the device. Otherwise each job is stored in queue"
+//usage: "\ndirectory and HELPER program is called. Name of file to print"
+//usage: "\nis passed in $DATAFILE variable."
+//usage: "\nExample:"
+//usage: "\n tcpsvd -E 0 515 softlimit -m 999999 lpd /var/spool ./print"
+
#include "libbb.h"
// strip argument of bad chars