From 1dff45eb075a8717a65c2a79e454b6e61c52f14d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 21 Jun 2021 14:44:20 -0300 Subject: doc/git-permalink.*.1: Add `EXIT STATUS` section; mention `STDOUT` in `-p` option --- doc/git-permalink.en.1 | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'doc/git-permalink.en.1') diff --git a/doc/git-permalink.en.1 b/doc/git-permalink.en.1 index cfa28a8..2392340 100644 --- a/doc/git-permalink.en.1 +++ b/doc/git-permalink.en.1 @@ -22,7 +22,7 @@ It then uses those values to build a permalink URL, with the commit included on .TP \fB-p\fR -Only print the web URL link, don't try to open it with \fBxdg-open\fR(1) or do anything else. +Only print the web URL link to STDOUT, don't try to open it with \fBxdg-open\fR(1) or do anything else. By default this is turned off. .TP @@ -128,6 +128,22 @@ Configure an URL override, and open the file \fIsrc/app_add.c\fR without selecti .fi +.SH EXIT STATUS + +.TP +.B 0 +Successful execution. + +.TP +.B 1 +Unsupported remote. +See the supported list in SUPPORTED REMOTES, and how to add custom ones in OVERRIDES. + +.TP +.B 2 +Invalid arguments. + + .SH SEE ALSO \fBgit-config\fR(1) -- cgit v1.2.3