mlmmj

changeset f8f3f4525a2b

Cosmetic changes to help messages
author Ben Schmidt
date Fri, 08 Oct 2010 01:47:46 +1100
parents bb803487199c
children d1872b169d84
files src/mlmmj-bounce.c src/mlmmj-list.c src/mlmmj-process.c src/mlmmj-receive.c src/mlmmj-send.c
diffstat 5 files changed, 20 insertions(+), 16 deletions(-) [+]
line diff
     1.1 --- a/src/mlmmj-bounce.c	Fri Oct 08 00:28:51 2010 +1100
     1.2 +++ b/src/mlmmj-bounce.c	Fri Oct 08 01:47:46 2010 +1100
     1.3 @@ -223,7 +223,8 @@
     1.4  
     1.5  static void print_help(const char *prg)
     1.6  {
     1.7 -	printf("Usage: %s -L /path/to/list -a john=doe.org [-n num | -p]\n"
     1.8 +	printf("Usage: %s -L /path/to/list\n"
     1.9 +	       "       -a john=doe.org [-n num | -p]\n"
    1.10  		" -a: Address string that bounces\n"
    1.11  		" -h: This help\n"
    1.12  		" -L: Full path to list directory\n"
     2.1 --- a/src/mlmmj-list.c	Fri Oct 08 00:28:51 2010 +1100
     2.2 +++ b/src/mlmmj-list.c	Fri Oct 08 01:47:46 2010 +1100
     2.3 @@ -39,8 +39,8 @@
     2.4  
     2.5  static void print_help(const char *prg)
     2.6  {
     2.7 -        printf("Usage: %s -L /path/to/listdir [-c] [-d] [-h] [-m] [-n] "
     2.8 -			"[-o] [-s] [-V]\n"
     2.9 +	printf("Usage: %s -L /path/to/listdir\n"
    2.10 +	       "       [-c] [-d] [-h] [-m] [-n] [-o] [-s] [-V]\n"
    2.11  	       " -L: Full path to list directory\n"
    2.12  	       " -c: Print subscriber count\n"
    2.13  	       " -d: Print for digesters list\n"
     3.1 --- a/src/mlmmj-process.c	Fri Oct 08 00:28:51 2010 +1100
     3.2 +++ b/src/mlmmj-process.c	Fri Oct 08 01:47:46 2010 +1100
     3.3 @@ -368,7 +368,8 @@
     3.4  
     3.5  static void print_help(const char *prg)
     3.6  {
     3.7 -        printf("Usage: %s -L /path/to/list -m /path/to/mail [-h] [-P] [-V]\n"
     3.8 +	printf("Usage: %s -L /path/to/list\n"
     3.9 +	       "       -m /path/to/mail [-h] [-P] [-V]\n"
    3.10  	       " -h: This help\n"
    3.11  	       " -L: Full path to list directory\n"
    3.12  	       " -m: Full path to mail file\n"
     4.1 --- a/src/mlmmj-receive.c	Fri Oct 08 00:28:51 2010 +1100
     4.2 +++ b/src/mlmmj-receive.c	Fri Oct 08 01:47:46 2010 +1100
     4.3 @@ -42,7 +42,8 @@
     4.4  
     4.5  static void print_help(const char *prg)
     4.6  {
     4.7 -        printf("Usage: %s -L /path/to/listdir [-s sender@example.org] [-e extension] [-h] [-V] [-P] [-F]\n"
     4.8 +	printf("Usage: %s -L /path/to/listdir\n"
     4.9 +	       "       [-s sender@example.org] [-e extension] [-h] [-V] [-P] [-F]\n"
    4.10  	       " -h: This help\n"
    4.11  	       " -F: Don't fork in the background\n"
    4.12  	       " -L: Full path to list directory\n"
     5.1 --- a/src/mlmmj-send.c	Fri Oct 08 00:28:51 2010 +1100
     5.2 +++ b/src/mlmmj-send.c	Fri Oct 08 01:47:46 2010 +1100
     5.3 @@ -672,9 +672,10 @@
     5.4  
     5.5  static void print_help(const char *prg)
     5.6  {
     5.7 -	printf("Usage: %s [-L /path/to/list || -l listctrl] \n"
     5.8 -	       "       -m /path/to/mail [-a] [-D] [-F] [-h] [-o] [-r] [-R] "
     5.9 -	       "[-R] [-s] [-T] [-V]\n"
    5.10 +	printf("Usage: %s [-L /path/to/list -m /path/to/mail | -l listctrl]\n"
    5.11 +	       "       [-a] [-D] [-F sender@example.org] [-h] [-o address@example.org]\n"
    5.12 +	       "       [-r 127.0.0.1] [-R reply@example.org] [-s /path/to/subscribers]\n"
    5.13 +	       "       [-T recipient@example.org] [-V]\n"
    5.14  	       " -a: Don't archive the mail\n"
    5.15  	       " -D: Don't delete the mail after it's sent\n"
    5.16  	       " -F: What to use as MAIL FROM:\n"
    5.17 @@ -686,8 +687,8 @@
    5.18  	       "    '4' means 'send to file with recipients'\n"
    5.19  	       "    '5' means 'bounceprobe'\n"
    5.20  	       "    '6' means 'single listmail to single recipient'\n"
    5.21 -	       "    '7' means 'digest'\n"
    5.22 -	       " -L: Full path to list directory\n"
    5.23 +	       "    '7' means 'digest'\n");
    5.24 +	printf(" -L: Full path to list directory\n"
    5.25  	       " -m: Full path to mail file\n"
    5.26  	       " -o: Address to omit from distribution (normal mail only)\n"
    5.27  	       " -r: Relayhost IP address (defaults to 127.0.0.1)\n"