Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
b4713295
Commit
b4713295
authored
Dec 08, 2004
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow --port to be used in client mode (as well as daemon mode).
parent
3add5835
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
options.c
options.c
+2
-1
No files found.
options.c
View file @
b4713295
...
...
@@ -298,6 +298,7 @@ void usage(enum logcode F)
rprintf
(
F
,
" --files-from=FILE read FILE for list of source-file names
\n
"
);
rprintf
(
F
,
" -0, --from0 all *-from file lists are delimited by nulls
\n
"
);
rprintf
(
F
,
" --version print version number
\n
"
);
rprintf
(
F
,
" --port=PORT specify double-colon alternate port number
\n
"
);
rprintf
(
F
,
" --blocking-io use blocking I/O for the remote shell
\n
"
);
rprintf
(
F
,
" --no-blocking-io turn off --blocking-io
\n
"
);
rprintf
(
F
,
" --stats give some file transfer stats
\n
"
);
...
...
@@ -393,6 +394,7 @@ static struct poptOption long_options[] = {
{
"blocking-io"
,
0
,
POPT_ARG_VAL
,
&
blocking_io
,
1
,
0
,
0
},
{
"no-blocking-io"
,
0
,
POPT_ARG_VAL
,
&
blocking_io
,
0
,
0
,
0
},
{
0
,
'P'
,
POPT_ARG_NONE
,
0
,
'P'
,
0
,
0
},
{
"port"
,
0
,
POPT_ARG_INT
,
&
rsync_port
,
0
,
0
,
0
},
{
"log-format"
,
0
,
POPT_ARG_STRING
,
&
log_format
,
0
,
0
,
0
},
{
"bwlimit"
,
0
,
POPT_ARG_INT
,
&
bwlimit
,
0
,
0
,
0
},
{
"backup-dir"
,
0
,
POPT_ARG_STRING
,
&
backup_dir
,
0
,
0
,
0
},
...
...
@@ -413,7 +415,6 @@ static struct poptOption long_options[] = {
{
"config"
,
0
,
POPT_ARG_STRING
,
0
,
OPT_DAEMON
,
0
,
0
},
{
"daemon"
,
0
,
POPT_ARG_NONE
,
0
,
OPT_DAEMON
,
0
,
0
},
{
"no-detach"
,
0
,
POPT_ARG_NONE
,
0
,
OPT_DAEMON
,
0
,
0
},
{
"port"
,
0
,
POPT_ARG_INT
,
0
,
OPT_DAEMON
,
0
,
0
},
{
0
,
0
,
0
,
0
,
0
,
0
,
0
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment