aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-16 13:17:13 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-16 13:17:13 +0000
commit069e347863fa46f684ab6bd7e48cefd8fa74b629 (patch)
treeb2f2cb51963b95d56db7ff52ab3a65d5210f3cda /include
parentcd5c61cd3b9bcca6afd30d6117d2d2e1791a7375 (diff)
downloadbusybox-069e347863fa46f684ab6bd7e48cefd8fa74b629.tar.gz
crontab: almost complete rewrite
crontab: make options consistent with other implementations text data bss dec hex filename 2042 4 0 2046 7fe busybox.t1/miscutils/crontab.o 1331 0 0 1331 533 busybox.t2/miscutils/crontab.o function old new delta edit_file 733 956 +223 open_as_user - 171 +171 packed_usage 23652 23650 -2 CDir 8 4 -4 ChangeUser 139 - -139 crontab_main 1522 616 -906 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/3 up/down: 394/-1051) Total: -657 bytes
Diffstat (limited to 'include')
-rw-r--r--include/usage.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/usage.h b/include/usage.h
index 71e1d125f..59e57f3a0 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -510,15 +510,14 @@ USE_FEATURE_BRCTL_FANCY("\n" \
" -c dir Working dir"
#define crontab_trivial_usage \
- "[-c dir] {file|-}|[-u|-l|-e|-d user]"
+ "[-c DIR] [-u USER] [-ler]|[FILE]"
#define crontab_full_usage \
- " file [opts] Replace crontab from file\n" \
- " - [opts] Replace crontab from stdin\n" \
- " -u user User\n" \
- " -l [user] List crontab for user\n" \
- " -e [user] Edit crontab for user\n" \
- " -d [user] Delete crontab for user\n" \
- " -c dir Crontab directory"
+ " -c Crontab directory" \
+ "\n -u User" \
+ "\n -l List crontab" \
+ "\n -e Edit crontab" \
+ "\n -r Delete crontab" \
+ "\n FILE Replace crontab by FILE ('-': stdin)" \
#define cryptpw_trivial_usage \
"[-a des|md5] [string]"