summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h1
-rw-r--r--include/usage.h17
2 files changed, 9 insertions, 9 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 9b52dd2..6e10cdc 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -912,7 +912,6 @@ char *bb_simplify_path(const char *path);
#define FAIL_DELAY 3
extern void bb_do_delay(int seconds);
extern void change_identity(const struct passwd *pw);
-extern const char *change_identity_e2str(const struct passwd *pw);
extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args) ATTRIBUTE_NORETURN;
extern void run_shell(const char *shell, int loginshell, const char *command, const char **additional_args);
#if ENABLE_SELINUX
diff --git a/include/usage.h b/include/usage.h
index f575f46..a6d970d 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -507,16 +507,17 @@ USE_FEATURE_BRCTL_FANCY("\n" \
" F Input from file"
#define crond_trivial_usage \
- "-d[#] -c crondir -f -b"
+ "-fbS -l N " USE_DEBUG_CROND_OPTION("-d N ") "-L LOGFILE -c DIR"
#define crond_full_usage \
- " -d [#] -l [#] -S -L logfile -f -b -c dir\n" \
- " -d num Debug level\n" \
- " -l num Log level (8 - default)\n" \
+ " -f Foreground\n" \
+ " -b Background (default)\n" \
" -S Log to syslog (default)\n" \
- " -L file Log to file\n" \
- " -f Run in foreground\n" \
- " -b Run in background (default)\n" \
- " -c dir Working dir"
+ " -l Set log level. 0 is the most verbose, default 8\n" \
+ USE_DEBUG_CROND_OPTION( \
+ " -d Set log level, log to stderr\n" \
+ ) \
+ " -L Log to file\n" \
+ " -c Working dir"
#define crontab_trivial_usage \
"[-c DIR] [-u USER] [-ler]|[FILE]"