mirror of
https://github.com/brain-hackers/nkbin_maker
synced 2024-12-22 12:10:05 +09:00
getopt arg fix
This commit is contained in:
parent
0252289f9f
commit
cb7003fbe7
2
bsd-ce.c
2
bsd-ce.c
@ -34,7 +34,7 @@ int main(int argc, char *argv[]) {
|
|||||||
unsigned int i32, cksum, ch;
|
unsigned int i32, cksum, ch;
|
||||||
long len;
|
long len;
|
||||||
|
|
||||||
while ((i = getopt(argc, argv, "hvo:l:")) != -1) {
|
while ((i = getopt(argc, argv, "ho:")) != -1) {
|
||||||
switch (i) {
|
switch (i) {
|
||||||
case 'o':
|
case 'o':
|
||||||
outfile = optarg;
|
outfile = optarg;
|
||||||
|
Loading…
Reference in New Issue
Block a user