projects
/
zilutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ebf6a4
)
zilasm/main: Bugfix output_file assignment.
author
Jason Self
<j@jxself.org>
Sat, 19 Sep 2015 04:18:38 +0000
(21:18 -0700)
committer
Jason Self
<j@jxself.org>
Sat, 19 Sep 2015 04:18:38 +0000
(21:18 -0700)
zilasm/main.c
patch
|
blob
|
history
diff --git
a/zilasm/main.c
b/zilasm/main.c
index ab2a633c6e0f9e62448b3db61496a9cf29a81744..811a6dff447195fdce942b554b07f64cf821acf3 100644
(file)
--- a/
zilasm/main.c
+++ b/
zilasm/main.c
@@
-160,7
+160,7
@@
int main(int argc, char *argv[], char *envp[])
print_version();
case 'o' :
if (output_file) wrong_arg("Output file must be given once\n");
- output_file =
argv[optind]
;
+ output_file =
optarg
;
break;
case ZVERSION:
parse_intarg(&Config.zversion, "zversion", 1, 8, 1);