Skip to content

Commit

Permalink
cc: remove empty default for include directories
Browse files Browse the repository at this point in the history
  • Loading branch information
atirut-w committed Aug 14, 2024
1 parent 92f0b68 commit afce778
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cc/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ unique_ptr<const ArgumentParser> parse_args(int argc, char *argv[])
parser->add_argument("-I", "--include")
.help("Add directory to include search path")
.action([](const string &value) { return filesystem::absolute(value); })
.nargs(nargs_pattern::any)
.default_value(vector<filesystem::path>{});
.nargs(nargs_pattern::any);

// Keep intermediate files
parser->add_argument("-k", "--keep-intermediate")
Expand Down

0 comments on commit afce778

Please sign in to comment.