diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 13 |
2 files changed, 16 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 8c59507ce..2af2b49e7 100644 --- a/include/applets.h +++ b/include/applets.h @@ -46,6 +46,9 @@ #ifdef BB_TEST APPLET_NOUSAGE("[", test_main, _BB_DIR_USR_BIN) #endif +#ifdef BB_ADJTIMEX + APPLET(adjtimex, adjtimex_main, _BB_DIR_SBIN) +#endif #ifdef BB_AR APPLET(ar, ar_main, _BB_DIR_USR_BIN) #endif diff --git a/include/usage.h b/include/usage.h index dc3b49816..8ec0170e2 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1,3 +1,16 @@ +#define adjtimex_trivial_usage \ + "[-q] [-o offset] [-f frequency] [-p timeconstant] [-t tick]" +#define adjtimex_full_usage \ + "Reads and optionally sets system timebase parameters.\n" \ + "See adjtimex(2).\n\n" \ + "Options:\n" \ + "\t-q\t\tquiet mode - do not print\n" \ + "\t-o offset\ttime offset, microseconds\n" \ + "\t-f frequency\tfrequency adjust, integer kernel units (65536 is 1ppm)\n" \ + "\t\t\t(positive values make the system clock run fast)\n" \ + "\t-t tick\t\tmicroseconds per tick, usually 10000\n" \ + "\t-p timeconstant\n" + #define ar_trivial_usage \ "-[ovR]{ptx} archive filenames" #define ar_full_usage \ |