document sleep command exit codes
This commit is contained in:
parent
d74b9a1d1a
commit
be0d45555e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2013-11-30 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||||
|
|
||||||
|
* docs/grub.texi (sleep): Document exit codes.
|
||||||
|
|
||||||
2013-11-30 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-30 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Ensure that -mno-unaligned-access or some equivalent option is used.
|
Ensure that -mno-unaligned-access or some equivalent option is used.
|
||||||
|
|
|
@ -4883,7 +4883,8 @@ Alias for @code{hashsum --hash sha512 arg @dots{}}. See command @command{hashsum
|
||||||
@deffn Command sleep [@option{--verbose}] [@option{--interruptible}] count
|
@deffn Command sleep [@option{--verbose}] [@option{--interruptible}] count
|
||||||
Sleep for @var{count} seconds. If option @option{--interruptible} is given,
|
Sleep for @var{count} seconds. If option @option{--interruptible} is given,
|
||||||
allow @key{ESC} to interrupt sleep. With @option{--verbose} show countdown
|
allow @key{ESC} to interrupt sleep. With @option{--verbose} show countdown
|
||||||
of remaining seconds.
|
of remaining seconds. Exit code is set to 0 if timeout expired and to 1
|
||||||
|
if timeout was interrupted by @key{ESC}.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue