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
e4114634
Commit
e4114634
authored
Feb 08, 2001
by
Martin Pool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document shortcoming of "unrecognised option" message.
parent
660c6fbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
options.c
options.c
+11
-0
No files found.
options.c
View file @
e4114634
...
@@ -621,6 +621,17 @@ int parse_arguments(int argc, char *argv[], int frommain)
...
@@ -621,6 +621,17 @@ int parse_arguments(int argc, char *argv[], int frommain)
break
;
break
;
default:
default:
/* FIXME: This can be confusing when the error message
* is coming from a remote server which has an older
* rsync version than the local version. The user
* sees the option documented in the local --help, but
* then the program seems to refuse to execute it. So
* perhaps the message should give the hostname or
* something.
*
* In rsync 3.x, it might be nice if options which
* only affect one end didn't have to bother the
* remote end. */
slprintf
(
err_buf
,
sizeof
(
err_buf
),
"unrecognised option
\n
"
);
slprintf
(
err_buf
,
sizeof
(
err_buf
),
"unrecognised option
\n
"
);
return
0
;
return
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