summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-12-01 13:06:03 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2010-12-01 13:06:03 +0100
commit3f2477e8a89ddadd1dfdd9d990ac8c6fdb8ad4b3 (patch)
treef672972cbfd8cf87a1c386235fbb5522331d1a89 /include
parent631fd5ccd7372e2c09e953cc3c5d0176ee2bc6d2 (diff)
touch: fix help text to not show options disabled in .config
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/applets.src.h1
-rw-r--r--include/usage.src.h16
2 files changed, 0 insertions, 17 deletions
diff --git a/include/applets.src.h b/include/applets.src.h
index 131fca504..9dd5b6d84 100644
--- a/include/applets.src.h
+++ b/include/applets.src.h
@@ -356,7 +356,6 @@ IF_TFTPD(APPLET(tftpd, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_TIME(APPLET(time, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_TIMEOUT(APPLET(timeout, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_TOP(APPLET(top, _BB_DIR_USR_BIN, _BB_SUID_DROP))
-IF_TOUCH(APPLET_NOFORK(touch, touch, _BB_DIR_BIN, _BB_SUID_DROP, touch))
IF_TR(APPLET(tr, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_TRACEROUTE(APPLET(traceroute, _BB_DIR_USR_BIN, _BB_SUID_MAYBE))
IF_TRACEROUTE6(APPLET(traceroute6, _BB_DIR_USR_BIN, _BB_SUID_MAYBE))
diff --git a/include/usage.src.h b/include/usage.src.h
index 7de2c6928..c413fbb91 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
@@ -4005,22 +4005,6 @@ INSERT
"and display a screenful of them." \
//TODO: add options and keyboard commands
-#define touch_trivial_usage \
- "[-c] [-d DATE] [-r FILE] FILE [FILE]..."
-#define touch_full_usage "\n\n" \
- "Update the last-modified date on the given FILE[s]\n" \
- "\nOptions:" \
- "\n -c Don't create files" \
- "\n -d DT Date/time to use" \
- "\n -r FILE Use FILE's date/time" \
-
-#define touch_example_usage \
- "$ ls -l /tmp/foo\n" \
- "/bin/ls: /tmp/foo: No such file or directory\n" \
- "$ touch /tmp/foo\n" \
- "$ ls -l /tmp/foo\n" \
- "-rw-rw-r-- 1 andersen andersen 0 Apr 15 01:11 /tmp/foo\n"
-
#define tr_trivial_usage \
"[-cds] STRING1 [STRING2]"
#define tr_full_usage "\n\n" \