Fix help about command-line arguments that do require a parameter.
authorwwp <subscript@free.fr>
Tue, 11 Feb 2020 14:55:51 +0000 (15:55 +0100)
committerwwp <subscript@free.fr>
Tue, 11 Feb 2020 14:55:51 +0000 (15:55 +0100)
doc/man/claws-mail.1
src/main.c

index 85ec7a9..3ce422b 100644 (file)
@@ -97,7 +97,7 @@ This list is not complete.
 .br
 \fB \-\-compose\-from\-file\fR file
 .br
-\fB \-\-subscribe\fR [uri]
+\fB \-\-subscribe\fR uri
 .br
 \fB \-\-attach file1 [file2]...\fR
 .br
@@ -143,7 +143,7 @@ This list is not complete.
 .br
 \fB \-\-config\-dir\fR
 .br
-\fB \-\-alternate\-config\-dir [dir]\fR
+\fB \-\-alternate\-config\-dir directory\fR
 .br
 \fB \-\-geometry WxH+X+Y\fR
 
index 91ad338..8e2f294 100644 (file)
@@ -1985,7 +1985,7 @@ static void parse_cmd_opt(int argc, char *argv[])
                                          "                         use - as file name for reading from standard input;\n"
                                          "                         content format: headers first (To: required) until an\n"
                                          "                         empty line, then mail body until end of file."));
-                       g_print("%s\n", _("  --subscribe [uri]      subscribe to the given URI if possible"));
+                       g_print("%s\n", _("  --subscribe uri        subscribe to the given URI if possible"));
                        g_print("%s\n", _("  --attach file1 [file2]...\n"
                                          "                         open composition window with specified files\n"
                                          "                         attached"));
@@ -2020,7 +2020,7 @@ static void parse_cmd_opt(int argc, char *argv[])
                        g_print("%s\n", _("  --version -v           output version information and exit"));
                        g_print("%s\n", _("  --version-full -V      output version and built-in features information and exit"));
                        g_print("%s\n", _("  --config-dir           output configuration directory"));
-                       g_print("%s\n", _("  --alternate-config-dir [dir]\n"
+                       g_print("%s\n", _("  --alternate-config-dir directory\n"
                                          "                         use specified configuration directory"));
                        g_print("%s\n", _("  --geometry -geometry WxH+X+Y\n"
                                          "                         set geometry for main window"));