forward from the Blackfin forums ... the --smtp-port option is
documented/used everywhere as 'P', but the actual getopt long opts
declares 'p'.
-mike

Submitted By: Andrea Federico Grisotto (andrea)

smtpclient in trunk and in 2008R1 branch doesn't accept "-P port" option,
I added a patch.

Andrea.

diff -uN smtpclient-orig/smtpclient_main.c smtpclient/smtpclient_main.c
--- smtpclient-orig/smtpclient_main.c   2008-03-11 12:05:46.000000000 +0100
+++ smtpclient/smtpclient_main.c        2008-09-15 16:43:03.000000000 +0200
@@ -292,7 +292,7 @@
     { "errors-to",    1, NULL, 'e' },
     { "carbon-copy",  1, NULL, 'c' },
     { "smtp-host",    1, NULL, 'S' },
-    { "smtp-port",    1, NULL, 'p' },
+    { "smtp-port",    1, NULL, 'P' },
     { "src-host",     1, NULL, 'H' },
     { "mime-encode",  0, NULL, 'M' },
     { "use-syslog",   0, NULL, 'L' },
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to