1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2014-02-28 22:52:36 +01:00
parent 820bafeabf
commit 3d64567bae

View file

@ -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] )