git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cf242c
)
command line parameters which contain '=' are now split into two
author
kramm
<kramm>
Tue, 23 Oct 2001 17:40:51 +0000
(17:40 +0000)
committer
kramm
<kramm>
Tue, 23 Oct 2001 17:40:51 +0000
(17:40 +0000)
lib/args.h
patch
|
blob
|
history
diff --git
a/lib/args.h
b/lib/args.h
index
c1ed3e3
..
cc9a58d
100644
(file)
--- 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);
}