diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2015-10-09 16:04:25 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2015-10-09 16:04:25 +0200 |
commit | ebf669cdbf7854f03113a937605658f100aefd48 (patch) | |
tree | 2c3b3a0d5095950e4ab57f3d992f31aa812fb717 /3rdParty/libquickmail/quickmailprog.c | |
parent | 66e3a458b3de1bc3e8c4511d6c0cebbb6a346d23 (diff) | |
download | aCms-ebf669cdbf7854f03113a937605658f100aefd48.tar.gz aCms-ebf669cdbf7854f03113a937605658f100aefd48.tar.bz2 |
updated libquickmail to 0.1.20
Diffstat (limited to '3rdParty/libquickmail/quickmailprog.c')
-rw-r--r-- | 3rdParty/libquickmail/quickmailprog.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/3rdParty/libquickmail/quickmailprog.c b/3rdParty/libquickmail/quickmailprog.c index f15f52f..c47bed9 100644 --- a/3rdParty/libquickmail/quickmailprog.c +++ b/3rdParty/libquickmail/quickmailprog.c @@ -59,7 +59,11 @@ void show_help() { printf( - "Usage: quickmail {-h server | -o filename} [-p port] [-u username] [-w password] -f email [-t email] [-c email] [-b email] [-s subject] [-m mimetype] [-d body] [-a file] [-v]\n" \ + "Usage: quickmail" +#ifdef NOCURL + "light" +#endif + " {-h server | -o filename} [-p port] [-u username] [-w password] -f email [-t email] [-c email] [-b email] [-s subject] [-m mimetype] [-d body] [-a file] [-v]\n" \ "Parameters:\n" \ " -h server \thostname or IP address of SMTP server\n" \ " -o filename \tname of file to dump the mail content to (- for stdout)\n" \ @@ -99,9 +103,9 @@ int main (int argc, char *argv[]) //show version #ifdef NOCURL printf("quickmail %s\n", quickmail_get_version()); -#else
- {
- curl_version_info_data* curlversion = curl_version_info(CURLVERSION_NOW);
+#else + { + curl_version_info_data* curlversion = curl_version_info(CURLVERSION_NOW); printf("quickmail %s (with libcurl %s)\n", quickmail_get_version(), (curlversion ? curlversion->version : curl_version())); } #endif |