aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-28 22:23:02 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-28 22:23:02 +0100
commit84d86d704e97f9e867fdca7d0299601c24dd3fd8 (patch)
tree802d9fe8abe4741fd2e5318beebb81d2488fab42 /man
parent8604a82ebbba9a90bc123f91ecbeb2499fef7d2f (diff)
Document the new exit status behaviorv2.2.2
Diffstat (limited to 'man')
-rw-r--r--man/grab.121
1 files changed, 19 insertions, 2 deletions
diff --git a/man/grab.1 b/man/grab.1
index d8cba00..a6f38da 100644
--- a/man/grab.1
+++ b/man/grab.1
@@ -1,6 +1,6 @@
.Dd 26 January, 2024
.Dt GRAB 1
-.Os Grab 2.2.1
+.Os Grab 2.2.2
.Sh NAME
.Nm grab ,
.Nm "git grab"
@@ -287,7 +287,24 @@ even when the
option is provided.
.El
.Sh EXIT STATUS
-.Ex -std
+The
+.Nm
+utility exits with one of the following values:
+.Pp
+.Bl -tag -width Ds -offset indent -compact
+.It Li 0
+One or more matches were selected.
+.It Li 1
+No matches were selected.
+.It Li 2
+The
+.Fl U
+option was passed but
+.Nm
+wasn’t built with PCRE support.
+.It Li >2
+An error occured.
+.El
.Sh EXAMPLES
List all your systems CPU flags, sorted and without duplicates:
.Pp