Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/coreutils/sleep.c

    r2725 r3232  
    1818 * time suffixes for seconds, minutes, hours, and days.
    1919 */
     20
     21//usage:#define sleep_trivial_usage
     22//usage:    IF_FEATURE_FANCY_SLEEP("[") "N" IF_FEATURE_FANCY_SLEEP("]...")
     23//usage:#define sleep_full_usage "\n\n"
     24//usage:    IF_NOT_FEATURE_FANCY_SLEEP("Pause for N seconds")
     25//usage:    IF_FEATURE_FANCY_SLEEP(
     26//usage:       "Pause for a time equal to the total of the args given, where each arg can\n"
     27//usage:       "have an optional suffix of (s)econds, (m)inutes, (h)ours, or (d)ays")
     28//usage:
     29//usage:#define sleep_example_usage
     30//usage:       "$ sleep 2\n"
     31//usage:       "[2 second delay results]\n"
     32//usage:    IF_FEATURE_FANCY_SLEEP(
     33//usage:       "$ sleep 1d 3h 22m 8s\n"
     34//usage:       "[98528 second delay results]\n")
    2035
    2136#include "libbb.h"
Note: See TracChangeset for help on using the changeset viewer.