aboutsummaryrefslogtreecommitdiff
path: root/include/usage.src.h
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2010-10-15 10:42:17 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2010-10-15 10:42:17 +0200
commitf2710d02210bbba4a9580c11ff053b01081eaf54 (patch)
treefe18f6f4f483c3180e46ed00df7c0531e3be5c97 /include/usage.src.h
parent05e8605ab8a01120af7c9f011c2334ab34381fdf (diff)
downloadbusybox-w32-f2710d02210bbba4a9580c11ff053b01081eaf54.tar.gz
busybox-w32-f2710d02210bbba4a9580c11ff053b01081eaf54.tar.bz2
busybox-w32-f2710d02210bbba4a9580c11ff053b01081eaf54.zip
date: move applet and usage bits to date.c
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'include/usage.src.h')
-rw-r--r--include/usage.src.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/include/usage.src.h b/include/usage.src.h
index 084427cc0..1bb4b563c 100644
--- a/include/usage.src.h
+++ b/include/usage.src.h
@@ -702,46 +702,6 @@ INSERT
702 "$ echo \"Hello world\" | cut -f 2 -d ' '\n" \ 702 "$ echo \"Hello world\" | cut -f 2 -d ' '\n" \
703 "world\n" 703 "world\n"
704 704
705#define date_trivial_usage \
706 "[OPTIONS] [+FMT] [TIME]"
707#define date_full_usage "\n\n" \
708 "Display time (using +FMT), or set time\n" \
709 "\nOptions:" \
710 IF_NOT_LONG_OPTS( \
711 "\n [-s] TIME Set time to TIME" \
712 "\n -u Work in UTC (don't convert to local time)" \
713 "\n -R Output RFC-2822 compliant date string" \
714 ) IF_LONG_OPTS( \
715 "\n [-s,--set] TIME Set time to TIME" \
716 "\n -u,--utc Work in UTC (don't convert to local time)" \
717 "\n -R,--rfc-2822 Output RFC-2822 compliant date string" \
718 ) \
719 IF_FEATURE_DATE_ISOFMT( \
720 "\n -I[SPEC] Output ISO-8601 compliant date string" \
721 "\n SPEC='date' (default) for date only," \
722 "\n 'hours', 'minutes', or 'seconds' for date and" \
723 "\n time to the indicated precision" \
724 ) IF_NOT_LONG_OPTS( \
725 "\n -r FILE Display last modification time of FILE" \
726 "\n -d TIME Display TIME, not 'now'" \
727 ) IF_LONG_OPTS( \
728 "\n -r,--reference FILE Display last modification time of FILE" \
729 "\n -d,--date TIME Display TIME, not 'now'" \
730 ) \
731 IF_FEATURE_DATE_ISOFMT( \
732 "\n -D FMT Use FMT for -d TIME conversion" \
733 ) \
734 "\n" \
735 "\nRecognized TIME formats:" \
736 "\n hh:mm[:ss]" \
737 "\n [YYYY.]MM.DD-hh:mm[:ss]" \
738 "\n YYYY-MM-DD hh:mm[:ss]" \
739 "\n [[[[[YY]YY]MM]DD]hh]mm[.ss]" \
740
741#define date_example_usage \
742 "$ date\n" \
743 "Wed Apr 12 18:52:41 MDT 2000\n"
744
745#define dd_trivial_usage \ 705#define dd_trivial_usage \
746 "[if=FILE] [of=FILE] " IF_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \ 706 "[if=FILE] [of=FILE] " IF_FEATURE_DD_IBS_OBS("[ibs=N] [obs=N] ") "[bs=N] [count=N] [skip=N]\n" \
747 " [seek=N]" IF_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync]") 707 " [seek=N]" IF_FEATURE_DD_IBS_OBS(" [conv=notrunc|noerror|sync|fsync]")