Skip to content

Commit

Permalink
Add EXIT STATUS section to manpage.
Browse files Browse the repository at this point in the history
  • Loading branch information
philj56 committed Jul 17, 2023
1 parent e918dd4 commit b32c995
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
15 changes: 14 additions & 1 deletion doc/tofi.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,23 @@ the form **--key=value**.
> Numeric count of commands selected in **tofi-drun**, to enable sorting
> results by run count.
## EXIT STATUS

**tofi** exits with one of the following values:

0

> Success; a selection was made, or **tofi** was invoked with the **-h**
> option.
1

> An error occurred, or the user exited without making a selection.
## AUTHORS

Philip Jones \<<[email protected]>\>

## SEE ALSO

**tofi**(5), **dmenu**(1) **rofi**(1)
**tofi**(5), **dmenu**(1), **rofi**(1)
13 changes: 12 additions & 1 deletion doc/tofi.1.scd
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,21 @@ _$XDG_STATE_HOME/tofi-drun-history_
Numeric count of commands selected in *tofi-drun*, to enable sorting
results by run count.

# EXIT STATUS

*tofi* exits with one of the following values:

0
Success; a selection was made, or *tofi* was invoked with the *-h*
option.

1
An error occurred, or the user exited without making a selection.

# AUTHORS

Philip Jones <[email protected]>

# SEE ALSO

*tofi*(5), *dmenu*(1) *rofi*(1)
*tofi*(5), *dmenu*(1), *rofi*(1)

1 comment on commit b32c995

@bencollerson
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haha thanks for doing my documentation. :)

Please sign in to comment.