mirror of
https://github.com/Cloudef/bemenu
synced 2024-11-23 09:21:59 +01:00
improve exit code docs
This commit is contained in:
parent
b132d018a5
commit
a295e24146
@ -234,9 +234,13 @@ In the following examples, *C-x* means *<control-x>*, *M-x* means *<alt-x>* and
|
|||||||
*C-y*
|
*C-y*
|
||||||
Paste the clipboard.
|
Paste the clipboard.
|
||||||
|
|
||||||
*M-[0-9]*
|
*M-[1-9]*
|
||||||
Print selected items and exit with a custom error code. See _EXIT
|
Print selected items and exit with a custom error code 10 (*M-1*)
|
||||||
STATUS_.
|
through 18 (*M-9*), see _EXIT STATUS_.
|
||||||
|
|
||||||
|
*M-0*
|
||||||
|
Print selected items and exit with the custom error code 19, see _EXIT
|
||||||
|
STATUS_.
|
||||||
|
|
||||||
# ENVIRONMENT
|
# ENVIRONMENT
|
||||||
|
|
||||||
@ -256,8 +260,15 @@ In the following examples, *C-x* means *<control-x>*, *M-x* means *<alt-x>* and
|
|||||||
|
|
||||||
# EXIT STATUS
|
# EXIT STATUS
|
||||||
|
|
||||||
*bemenu* exits 0 on success, 1 if the user exited without selecting or an error,
|
*0*
|
||||||
and if exiting with a custom error code, 10 plus the number specified.
|
bemenu ran successfully.
|
||||||
|
|
||||||
|
*1*
|
||||||
|
The user exited without selecting, or bemenu encountered an error.
|
||||||
|
|
||||||
|
*10-19*
|
||||||
|
The user specified a custom exit code with *M-[0-9]*, see _KEYBOARD
|
||||||
|
COMMANDS_.
|
||||||
|
|
||||||
# SEE ALSO
|
# SEE ALSO
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user