Blob Blame Raw
From: Russ Allbery <rra@debian.org>
Subject: [PATCH] Fix error message from invalid options

Don't refer to all invalid options as invalid scp options.

Signed-off-by: Russ Allbery <rra@debian.org>

---
 util.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c
index 443dcba..774bdbe 100644
--- a/util.c
+++ b/util.c
@@ -152,7 +152,7 @@ bool opt_filter(char **vec, const char opt)
 	while (vec && *vec){
 		if (opt_exist(*vec, opt)){
 			fprintf(stderr, "\nillegal insecure %c option", opt);
-			log_msg("insecure %c option in scp command line!", opt);
+			log_msg("insecure %c option in command line!", opt);
 			return TRUE;
 		}
 		vec++;
-- 
tg: (05e48f5..) fixes/command-line-error (depends on: fixes/command-line-checking)