mirror of
https://github.com/jarun/nnn.git
synced 2025-03-18 20:39:45 +00:00
Fix detecting end of evironment options (#610)
This allow using both NNN_OPTS and options with arguments from argv.
This commit is contained in:
parent
2232772db4
commit
41dc17883a
1 changed files with 2 additions and 0 deletions
|
@ -7048,6 +7048,8 @@ int main(int argc, char *argv[])
|
||||||
usage();
|
usage();
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
if (env_opts_id == 0)
|
||||||
|
env_opts_id = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DBGMODE
|
#ifdef DBGMODE
|
||||||
|
|
Loading…
Add table
Reference in a new issue