diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-08-21 22:46:33 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2000-08-21 22:46:33 +0000 |
commit | cbf9b9fb9042d1f3befdc6fc6d5c27d76dbd9ad8 (patch) | |
tree | 83f5bff33a0bb5d9087fdb64ea4e8da3d5e138db /usage.c | |
parent | 3eb9db534058024db6b432ef34792e9e94405d4e (diff) | |
download | busybox-w32-cbf9b9fb9042d1f3befdc6fc6d5c27d76dbd9ad8.tar.gz busybox-w32-cbf9b9fb9042d1f3befdc6fc6d5c27d76dbd9ad8.tar.bz2 busybox-w32-cbf9b9fb9042d1f3befdc6fc6d5c27d76dbd9ad8.zip |
Added the 'rdate' command, thanks to Sterling Huxley <sterling@europa.com>.
I added the docs, and made behavior identical to the GNU version.
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@970 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to '')
-rw-r--r-- | usage.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -855,6 +855,18 @@ const char pwd_usage[] = | |||
855 | ; | 855 | ; |
856 | #endif | 856 | #endif |
857 | 857 | ||
858 | #if defined BB_RDATE | ||
859 | const char rdate_usage[] = | ||
860 | "rdate [OPTION] HOST\n" | ||
861 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
862 | "\nGet and possibly set the system date and time from a remote HOST.\n" | ||
863 | "Options:\n" | ||
864 | "\t-s\tSet the system date and time (default).\n" | ||
865 | "\t-p\tPrint the date and time.\n" | ||
866 | #endif | ||
867 | ; | ||
868 | #endif | ||
869 | |||
858 | #if defined BB_REBOOT | 870 | #if defined BB_REBOOT |
859 | const char reboot_usage[] = | 871 | const char reboot_usage[] = |
860 | "reboot\n" | 872 | "reboot\n" |