mirror of
https://github.com/brain-hackers/nkbin_maker
synced 2026-08-13 01:56:36 +09:00
getopt arg fix
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user