diff options
Diffstat (limited to 'printutils/lpd.c')
-rw-r--r-- | printutils/lpd.c | 11 |
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 @@ | |||
70 | * mv -f ./"$DATAFILE" save/ | 70 | * mv -f ./"$DATAFILE" save/ |
71 | */ | 71 | */ |
72 | 72 | ||
73 | //usage:#define lpd_trivial_usage | ||
74 | //usage: "SPOOLDIR [HELPER [ARGS]]" | ||
75 | //usage:#define lpd_full_usage "\n\n" | ||
76 | //usage: "SPOOLDIR must contain (symlinks to) device nodes or directories" | ||
77 | //usage: "\nwith names matching print queue names. In the first case, jobs are" | ||
78 | //usage: "\nsent directly to the device. Otherwise each job is stored in queue" | ||
79 | //usage: "\ndirectory and HELPER program is called. Name of file to print" | ||
80 | //usage: "\nis passed in $DATAFILE variable." | ||
81 | //usage: "\nExample:" | ||
82 | //usage: "\n tcpsvd -E 0 515 softlimit -m 999999 lpd /var/spool ./print" | ||
83 | |||
73 | #include "libbb.h" | 84 | #include "libbb.h" |
74 | 85 | ||
75 | // strip argument of bad chars | 86 | // strip argument of bad chars |