changeset 756: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 wrap: on
line diff
--- a/src/mlmmj-bounce.c	Fri Oct 08 00:28:51 2010 +1100
+++ b/src/mlmmj-bounce.c	Fri Oct 08 01:47:46 2010 +1100
@@ -223,7 +223,8 @@
 
 static void print_help(const char *prg)
 {
-	printf("Usage: %s -L /path/to/list -a john=doe.org [-n num | -p]\n"
+	printf("Usage: %s -L /path/to/list\n"
+	       "       -a john=doe.org [-n num | -p]\n"
 		" -a: Address string that bounces\n"
 		" -h: This help\n"
 		" -L: Full path to list directory\n"
--- a/src/mlmmj-list.c	Fri Oct 08 00:28:51 2010 +1100
+++ b/src/mlmmj-list.c	Fri Oct 08 01:47:46 2010 +1100
@@ -39,8 +39,8 @@
 
 static void print_help(const char *prg)
 {
-        printf("Usage: %s -L /path/to/listdir [-c] [-d] [-h] [-m] [-n] "
-			"[-o] [-s] [-V]\n"
+	printf("Usage: %s -L /path/to/listdir\n"
+	       "       [-c] [-d] [-h] [-m] [-n] [-o] [-s] [-V]\n"
 	       " -L: Full path to list directory\n"
 	       " -c: Print subscriber count\n"
 	       " -d: Print for digesters list\n"
--- a/src/mlmmj-process.c	Fri Oct 08 00:28:51 2010 +1100
+++ b/src/mlmmj-process.c	Fri Oct 08 01:47:46 2010 +1100
@@ -368,7 +368,8 @@
 
 static void print_help(const char *prg)
 {
-        printf("Usage: %s -L /path/to/list -m /path/to/mail [-h] [-P] [-V]\n"
+	printf("Usage: %s -L /path/to/list\n"
+	       "       -m /path/to/mail [-h] [-P] [-V]\n"
 	       " -h: This help\n"
 	       " -L: Full path to list directory\n"
 	       " -m: Full path to mail file\n"
--- a/src/mlmmj-receive.c	Fri Oct 08 00:28:51 2010 +1100
+++ b/src/mlmmj-receive.c	Fri Oct 08 01:47:46 2010 +1100
@@ -42,7 +42,8 @@
 
 static void print_help(const char *prg)
 {
-        printf("Usage: %s -L /path/to/listdir [-s sender@example.org] [-e extension] [-h] [-V] [-P] [-F]\n"
+	printf("Usage: %s -L /path/to/listdir\n"
+	       "       [-s sender@example.org] [-e extension] [-h] [-V] [-P] [-F]\n"
 	       " -h: This help\n"
 	       " -F: Don't fork in the background\n"
 	       " -L: Full path to list directory\n"
--- a/src/mlmmj-send.c	Fri Oct 08 00:28:51 2010 +1100
+++ b/src/mlmmj-send.c	Fri Oct 08 01:47:46 2010 +1100
@@ -672,9 +672,10 @@
 
 static void print_help(const char *prg)
 {
-	printf("Usage: %s [-L /path/to/list || -l listctrl] \n"
-	       "       -m /path/to/mail [-a] [-D] [-F] [-h] [-o] [-r] [-R] "
-	       "[-R] [-s] [-T] [-V]\n"
+	printf("Usage: %s [-L /path/to/list -m /path/to/mail | -l listctrl]\n"
+	       "       [-a] [-D] [-F sender@example.org] [-h] [-o address@example.org]\n"
+	       "       [-r 127.0.0.1] [-R reply@example.org] [-s /path/to/subscribers]\n"
+	       "       [-T recipient@example.org] [-V]\n"
 	       " -a: Don't archive the mail\n"
 	       " -D: Don't delete the mail after it's sent\n"
 	       " -F: What to use as MAIL FROM:\n"
@@ -686,8 +687,8 @@
 	       "    '4' means 'send to file with recipients'\n"
 	       "    '5' means 'bounceprobe'\n"
 	       "    '6' means 'single listmail to single recipient'\n"
-	       "    '7' means 'digest'\n"
-	       " -L: Full path to list directory\n"
+	       "    '7' means 'digest'\n");
+	printf(" -L: Full path to list directory\n"
 	       " -m: Full path to mail file\n"
 	       " -o: Address to omit from distribution (normal mail only)\n"
 	       " -r: Relayhost IP address (defaults to 127.0.0.1)\n"