summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyo Nakamura <upa@haeena.net>2024-02-07 14:32:36 +0900
committerRyo Nakamura <upa@haeena.net>2024-02-07 14:32:36 +0900
commita9c59f744a29f921ab55518a3b2b5b5c7ca6b95d (patch)
tree05ce8142c6303ad999db1c29adf4bbce8b2b1ad2
parent96084004b699bd8b5abc1c37b3ef4af2e6a37e26 (diff)
update man and doc for adjusting to -p option
-rw-r--r--doc/mscp.1.in2
-rw-r--r--doc/mscp.rst16
2 files changed, 11 insertions, 7 deletions
diff --git a/doc/mscp.1.in b/doc/mscp.1.in
index 13e4347..affaf5f 100644
--- a/doc/mscp.1.in
+++ b/doc/mscp.1.in
@@ -179,7 +179,7 @@ Specifies the username to log in on the remote machine as with
.I ssh(1).
.TP
-.B \-p,\-P \fIPORT\fR
+.B \-P \fIPORT\fR
Specifies the port number to connect to on the remote machine as with
ssh(1) and scp(1).
diff --git a/doc/mscp.rst b/doc/mscp.rst
index c4ed35b..1c76a4c 100644
--- a/doc/mscp.rst
+++ b/doc/mscp.rst
@@ -2,7 +2,7 @@
MSCP
====
-:Date: v0.1.3-15-g9908fb3
+:Date: v0.1.3-22-g9608400
NAME
====
@@ -12,13 +12,13 @@ mscp - copy files over multiple SSH connections
SYNOPSIS
========
-**mscp** [**-vqDHdNh**] [ **-n**\ *NR_CONNECTIONS* ] [
+**mscp** [**-vqDpHdNh**] [ **-n**\ *NR_CONNECTIONS* ] [
**-m**\ *COREMASK* ] [ **-u**\ *MAX_STARTUPS* ] [ **-I**\ *INTERVAL* ] [
**-s**\ *MIN_CHUNK_SIZE* ] [ **-S**\ *MAX_CHUNK_SIZE* ] [
**-a**\ *NR_AHEAD* ] [ **-b**\ *BUF_SIZE* ] [ **-l**\ *LOGIN_NAME* ] [
-**-p**\ \| **-P**\ *PORT* ] [ **-F**\ *CONFIG* ] [ **-i**\ *IDENTITY* ]
-[ **-c**\ *CIPHER* ] [ **-M**\ *HMAC* ] [ **-C**\ *COMPRESS* ] *source
-... target*
+**-P**\ *PORT* ] [ **-F**\ *CONFIG* ] [ **-i**\ *IDENTITY* ] [
+**-c**\ *CIPHER* ] [ **-M**\ *HMAC* ] [ **-C**\ *COMPRESS* ] *source ...
+target*
DESCRIPTION
===========
@@ -106,7 +106,7 @@ OPTIONS
Specifies the username to log in on the remote machine as with
*ssh(1).*
-**-p,-P PORT**
+**-P PORT**
Specifies the port number to connect to on the remote machine as with
ssh(1) and scp(1).
@@ -130,6 +130,10 @@ OPTIONS
Enables compression: yes, no, zlib, zlib@openssh.com. The default is
none. See `libssh features <https://www.libssh.org/features/>`__.
+**-p**
+ Preserves modification times and access times (file mode bits are
+ preserved by default).
+
**-H**
Disables hostkey checking.