diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/libbb.h | 1 | ||||
-rw-r--r-- | include/usage.h | 9 |
3 files changed, 11 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index b2e89ee85..d4b6dbeaa 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -305,6 +305,7 @@ USE_RUNLEVEL(APPLET(runlevel, _BB_DIR_SBIN, _BB_SUID_NEVER)) | |||
305 | USE_RUNSV(APPLET(runsv, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 305 | USE_RUNSV(APPLET(runsv, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
306 | USE_RUNSVDIR(APPLET(runsvdir, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 306 | USE_RUNSVDIR(APPLET(runsvdir, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
307 | USE_RX(APPLET(rx, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 307 | USE_RX(APPLET(rx, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
308 | USE_SCRIPT(APPLET(script, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | ||
308 | USE_SED(APPLET(sed, _BB_DIR_BIN, _BB_SUID_NEVER)) | 309 | USE_SED(APPLET(sed, _BB_DIR_BIN, _BB_SUID_NEVER)) |
309 | USE_SELINUXENABLED(APPLET(selinuxenabled, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 310 | USE_SELINUXENABLED(APPLET(selinuxenabled, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
310 | USE_SENDMAIL(APPLET_ODDNAME(sendmail, sendgetmail, _BB_DIR_USR_BIN, _BB_SUID_NEVER, sendmail)) | 311 | USE_SENDMAIL(APPLET_ODDNAME(sendmail, sendgetmail, _BB_DIR_USR_BIN, _BB_SUID_NEVER, sendmail)) |
diff --git a/include/libbb.h b/include/libbb.h index 978cd2d87..707e8d69b 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -237,6 +237,7 @@ extern int recursive_action(const char *fileName, unsigned flags, | |||
237 | int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData, int depth), | 237 | int (*dirAction) (const char *fileName, struct stat* statbuf, void* userData, int depth), |
238 | void* userData, unsigned depth); | 238 | void* userData, unsigned depth); |
239 | extern int device_open(const char *device, int mode); | 239 | extern int device_open(const char *device, int mode); |
240 | extern int getpty(char *line, int size); | ||
240 | extern int get_console_fd(void); | 241 | extern int get_console_fd(void); |
241 | extern char *find_block_device(const char *path); | 242 | extern char *find_block_device(const char *path); |
242 | /* bb_copyfd_XX print read/write errors and return -1 if they occur */ | 243 | /* bb_copyfd_XX print read/write errors and return -1 if they occur */ |
diff --git a/include/usage.h b/include/usage.h index 95cb69c73..4eac17401 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -3234,6 +3234,15 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
3234 | #define rx_example_usage \ | 3234 | #define rx_example_usage \ |
3235 | "$ rx /tmp/foo\n" | 3235 | "$ rx /tmp/foo\n" |
3236 | 3236 | ||
3237 | #define script_trivial_usage \ | ||
3238 | "[-afq] [-c COMMAND] [OUTFILE]" | ||
3239 | #define script_full_usage \ | ||
3240 | "Options:" \ | ||
3241 | "\n -a Append output" \ | ||
3242 | "\n -c Run COMMAND, not shell" \ | ||
3243 | "\n -f Flush output after each write" \ | ||
3244 | "\n -q Quiet" | ||
3245 | |||
3237 | #define sed_trivial_usage \ | 3246 | #define sed_trivial_usage \ |
3238 | "[-efinr] pattern [files...]" | 3247 | "[-efinr] pattern [files...]" |
3239 | #define sed_full_usage \ | 3248 | #define sed_full_usage \ |