Made the refused-option message clearer, like Paul suggested.
authorWayne Davison <wayned@samba.org>
Thu, 23 Sep 2004 17:39:05 +0000 (17:39 +0000)
committerWayne Davison <wayned@samba.org>
Thu, 23 Sep 2004 17:39:05 +0000 (17:39 +0000)
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,
-                                   "This server does not support --%s\n",
+                                   "The server is configured to refuse --%s\n",
                                    op->longName) - 1;
                                if (op->shortName) {
                                        snprintf(err_buf+n, sizeof err_buf-n,