Skip to content

Commit

Permalink
#239 GView should open the current folder instead of showing help whe…
Browse files Browse the repository at this point in the history
…n no command is given
  • Loading branch information
rzaharia committed Mar 1, 2024
1 parent 4f9608f commit 9a5a450
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GView/src/GView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ int main(int argc, const char** argv)
{
if (argc < 2)
{
ShowHelp();
return 0;
const char* openCurrentFolderCommand[] = { "."};
return ProcessOpenCommand(1, openCurrentFolderCommand, 0);
}

auto cmdID = GetCommandID(argv[1]);
Expand Down

0 comments on commit 9a5a450

Please sign in to comment.