summaryrefslogtreecommitdiffstats
path: root/exchange.1
diff options
context:
space:
mode:
authorTobias Wiese <tobias@tobiaswiese.com>2020-08-07 17:42:13 +0200
committerTobias Wiese <tobias@tobiaswiese.com>2020-08-07 17:42:13 +0200
commit94aca244aa2de4cc9b7728f2c64d3a6add1b9efa (patch)
tree74141122a14e9a9bd5b9d97da271e4b7317b4429 /exchange.1
parente1cfd1c7d296cd691d2194187575f3302f66ef92 (diff)
manpage for exchange.1
Add a manpage for exchage. This manual page is installed with the install and removed with the uninstall target. Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
Diffstat (limited to 'exchange.1')
-rw-r--r--exchange.128
1 files changed, 28 insertions, 0 deletions
diff --git a/exchange.1 b/exchange.1
new file mode 100644
index 0000000..98ea52c
--- /dev/null
+++ b/exchange.1
@@ -0,0 +1,28 @@
+.TH EXCHANGE "1" "2020-08-07"
+.SH NAME
+exchange \- exchange (swap) two files
+.SH SYNOPSIS
+.B exchange
+.RI [ OPTIONS ]... " PATH1 PATH2"
+.SH DESCRIPTION
+Swap the filenames of
+.I PATH1
+and
+.IR PATH2 .
+Each of
+.I PATH1
+and
+.I PATH2
+may be any kind of file, including directory.
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR mv (1),
+.BR rename (2).