Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb6716
)
Made the refused-option message clearer, like Paul suggested.
author
Wayne Davison
<wayned@samba.org>
Thu, 23 Sep 2004 17:39:05 +0000
(17:39 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 23 Sep 2004 17:39:05 +0000
(17:39 +0000)
options.c
patch
|
blob
|
blame
|
history
diff --git
a/options.c
b/options.c
index
3cee4ba
..
5cb4321
100644
(file)
--- a/
options.c
+++ b/
options.c
@@
-623,7
+623,7
@@
int parse_arguments(int *argc, const char ***argv, int frommain)
struct poptOption *op =
&long_options[opt-OPT_REFUSED_BASE];
int n = snprintf(err_buf, sizeof err_buf,
- "Th
is server does not support
--%s\n",
+ "Th
e server is configured to refuse
--%s\n",
op->longName) - 1;
if (op->shortName) {
snprintf(err_buf+n, sizeof err_buf-n,