From 9d85e6224fa9ac5b4c54e7af8ea3b7c9271c2680 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 23 Oct 2001 17:40:51 +0000 Subject: [PATCH] command line parameters which contain '=' are now split into two --- lib/args.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/args.h b/lib/args.h index c1ed3e3..cc9a58d 100644 --- a/lib/args.h +++ b/lib/args.h @@ -79,7 +79,9 @@ int args_long2shortoption(struct options_t*options, char*name, char*val) +(equal?strlen(equal)+2:2)); strcpy(tmp, options->shortoption); if(equal) { - strcpy(&tmp[strlen(tmp)], equal); + //strcpy(&tmp[strlen(tmp)], equal); + int ret = args_callback_option(tmp, equal); + return 0; } return args_callback_option(tmp,val); } -- 1.7.10.4