summaryrefslogtreecommitdiff
path: root/mirror.1
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-01-01 02:59:57 +0100
committerAki <please@ignore.pl>2024-01-01 02:59:57 +0100
commite86cd131bca23ecb8eb3433f8cb7b2878ab99f7d (patch)
treefb59e18ab0957f778b24b8a0a282c2dd5c0e427e /mirror.1
parent1b5c9e71c96a8711b9b254a2025a19d2b5601ab0 (diff)
downloadmirror-e86cd131bca23ecb8eb3433f8cb7b2878ab99f7d.zip
mirror-e86cd131bca23ecb8eb3433f8cb7b2878ab99f7d.tar.gz
mirror-e86cd131bca23ecb8eb3433f8cb7b2878ab99f7d.tar.bz2
Added -n for dry run mode
Diffstat (limited to 'mirror.1')
-rw-r--r--mirror.17
1 files changed, 6 insertions, 1 deletions
diff --git a/mirror.1 b/mirror.1
index 361f256..a19da7c 100644
--- a/mirror.1
+++ b/mirror.1
@@ -3,13 +3,14 @@
mirror \- copies remote git repositories in bulk
.SH SYNOPSIS
.SY mirror
+.RB [ -n ]
.RI [ repositories ]
.SY mirror\ -v
.YS
.SH DESCRIPTION
This script will read
.I repositories
-file for paths or addresses to git repositories, clone them in a bare mirror mode or update existing mirrors as
+file for paths or addresses to git repositories and clone them in a bare mirror mode or update existing mirrors as
necessary. If not provided
.I repositories
will default to
@@ -17,6 +18,10 @@ will default to
in the current working directory.
.P
With
+.B -n
+option the script will only print actions it would perform and not attempt any updates.
+.P
+With
.B -v
option the script will print version information to standard output and terminate immediately after.
.SH EXIT STATUS