Skip to content

Commit

Permalink
Default output directory now is ./output
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Sallermann authored and MSallermann committed Oct 18, 2023
1 parent 6be8d7b commit 279265f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int main( int argc, char * argv[] )
std::optional<std::string> agent_file = program.present<std::string>( "-a" );
std::optional<std::string> network_file = program.present<std::string>( "-n" );
std::optional<std::string> output_dir_path_cli = program.present<std::string>( "-o" );
fs::path output_dir_path = output_dir_path_cli.value_or( config_file_path.parent_path() / fs::path( "output" ) );
fs::path output_dir_path = output_dir_path_cli.value_or( fs::path( "./output" ) );

fmt::print( "Using input file: {}\n", config_file_path.string() );
fmt::print( "Output directory path set to: {}\n", output_dir_path.string() );
Expand Down

0 comments on commit 279265f

Please sign in to comment.