summaryrefslogtreecommitdiff
path: root/mirror.1
diff options
context:
space:
mode:
Diffstat (limited to 'mirror.1')
-rw-r--r--mirror.112
1 files changed, 10 insertions, 2 deletions
diff --git a/mirror.1 b/mirror.1
index 3fdeea1..a7af5b8 100644
--- a/mirror.1
+++ b/mirror.1
@@ -1,9 +1,10 @@
-.TH mirror 1 "2023-04-15"
+.TH mirror 1 "2023-12-28"
.SH NAME
mirror \- copies remote git repositories in bulk
.SH SYNOPSIS
.SY mirror
.RI [ list ]
+.SY mirror\ -v
.YS
.SH DESCRIPTION
This script will read
@@ -14,7 +15,14 @@ provided
will default to
.B repositories.list
in the current working directory.
+.P
+With
+.B -v
+option the script will print version information to standard output and terminate immediately after.
.SH EXIT STATUS
-Script is not expected to provide a useful exit status as of now.
+Exit status is zero if all repositories in the list have been mirrored successfully or if
+.B -v
+option was used. If one or more mirrors fail or an unknown command-line option is provided, a non-zero status is
+returned.
.SH SEE ALSO
.BR git (1)