2 files changed, 2 insertions(+), 8 deletions(-)
M drist
M drist.1
M drist => drist +2 -1
@@ 8,12 8,13 @@ TRUNCATE=0
TEMPDIR=""
usage() {
- echo "$0 [-n] [-d] [-s [-e sudo|doas]] server [...]"
+ echo "$0 [-p] [-d] [-s [-e sudo|doas]] server [...]"
exit 0
}
# $1 = directory name
# $2 = remote server
+# $3 = tempdir
copy_files() {
# -l = keep symlink / -D = special device
if [ -d "${1}" ]
M drist.1 => drist.1 +0 -7
@@ 6,7 6,6 @@
.Nd dumb remote installer shell tool, a remote deployment tool
.Sh SYNOPSIS
.Op Fl p
-.Op Fl n
.Op Fl d
.Op Fl s Op Fl e Ar sudo|doas
.Ar destination
@@ 17,12 16,6 @@ to use persistent ssh connection, allowing to ssh only once
for the differents steps.
This uses ControlMaster feature from
.Xr ssh 1 .
-.It Op Fl n
-to simulate.
-Tells
-.Nm
-to show what will happens if it runs.
-This will make a ssh connection to check the remote hostname.
.It Op Fl d
to truncate reported hostname.
Tells