Skip to content

Commit

Permalink
Oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Sep 29, 2016
1 parent a35b093 commit 3d34417
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/RClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -745,12 +745,7 @@ CommandLineParser::ParseStatus RClient::parse(int &argc, char **argv)
addQuery(QueryMessage::SymbolInfo, query);
break; }
case CurrentFile: {
Path p = optarg;
if (!p.isFile()) {
fprintf(stderr, "%s is not a file\n", optarg);
return CommandLineParser::Parse_Error;
}
mCurrentFile = p.resolved();
mCurrentFile = Path(optarg).resolved();
break; }
case ReloadFileManager: {
addQuery(QueryMessage::ReloadFileManager);
Expand Down

0 comments on commit 3d34417

Please sign in to comment.