sleep: improve doc
commit643a7325ec95d9e81b15656b62f2be800d00fe00
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Jan 2019 19:15:31 +0000 (25 11:15 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 25 Jan 2019 19:17:18 +0000 (25 11:17 -0800)
tree109fe77b09532e782bd3364649c040d29798acf4
parentfa50623394f491b975dbd7ad73193519dd721771
sleep: improve doc

Problem reported by Robert Elz.
* doc/coreutils.texi (sleep invocation):
Say that arguments must be non-negative, which means they cannot
be arbitrary floating-point numbers.  Mention POSIX, not
“historical implementations” that are no longer of practical
interest.  List the extensions to POSIX.
* src/sleep.c (usage): Omit needless words, removing dubious
commentary about “most implementations” and incorrect commentary
about “arbitrary”.  Details about exactly which numbers are
allowed can be found in the documentation.
doc/coreutils.texi
src/sleep.c