mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix pwd(1) argument parsing.
This commit is contained in:
parent
820bafeabf
commit
3d64567bae
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ int main(int argc, char* argv[])
|
|||
{
|
||||
const char* argv0 = argv[0];
|
||||
bool physical = false;
|
||||
for ( int i = 0; i < argc; i++ )
|
||||
for ( int i = 1; i < argc; i++ )
|
||||
{
|
||||
const char* arg = argv[i];
|
||||
if ( arg[0] != '-' || !arg[1] )
|
||||
|
|
Loading…
Reference in a new issue