Selaa lähdekoodia
Fix detecting end of evironment options (#610)
This allow using both NNN_OPTS and options with arguments from argv.
master
lvgx
GitHub
4 vuotta sitten
vanhempi
commit
41dc17883a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa
2 lisäystä ja
0 poistoa
-
src/nnn.c
|
|
@@ -7048,6 +7048,8 @@ int main(int argc, char *argv[]) |
|
|
|
usage(); |
|
|
|
return EXIT_FAILURE; |
|
|
|
} |
|
|
|
if (env_opts_id == 0) |
|
|
|
env_opts_id = -1; |
|
|
|
} |
|
|
|
|
|
|
|
#ifdef DBGMODE |
|
|
|