[Commits] [SCM] claws branch, master, updated. 3.17.3-34-g0b51038

mones at claws-mail.org mones at claws-mail.org
Fri Jan 4 20:07:56 CET 2019


The branch, master has been updated
       via  0b510383802dc6d6a70cf3897b7293799c1ba570 (commit)
      from  b249609f1b0639c075f4089555cf31eaa82fa104 (commit)

Summary of changes:
 src/main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 0b510383802dc6d6a70cf3897b7293799c1ba570
Author: Ricardo Mones <ricardo at mones.org>
Date:   Fri Jan 4 20:07:49 2019 +0100

    Give a hint when option is unknown

diff --git a/src/main.c b/src/main.c
index 4e5cd15..069a229 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2060,7 +2060,7 @@ static void parse_cmd_opt(int argc, char *argv[])
 			} else if (is_dir_exist(argv[i]) || is_file_exist(argv[i])) {
 				cmd.target = argv[i];
 			} else {
-				g_print(_("Unknown option\n"));
+				g_print(_("Unknown option. Try -h or --help for usage.\n"));
 				exit(1);
 			}
 		}

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list