Skip to content

Commit

Permalink
Merge pull request #193 from cayetanobv/dev-cayetano
Browse files Browse the repository at this point in the history
Fixed print progress info and Prevent unused flags (addways and addrelations) from appearing in "Command Line Configuration"
  • Loading branch information
cvvergara authored Oct 16, 2017
2 parents 8def279 + 05c469e commit 6ffac06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/utilities/print_progress.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ print_progress(T1 wantProgress, T2 currentProgress) {
std::cout << "\r"
<< bar
<< " (" << static_cast<int>(100 * percent) << "%)"
<< " Total porcessed: " << currentProgress << std::flush;
<< " Total processed: " << currentProgress << std::flush;
}
#endif // SRC_PRINT_PROGRESS_H_
2 changes: 1 addition & 1 deletion src/utilities/prog_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ process_command_line(po::variables_map &vm) {
std::cout << (vm.count("clean")? "D" : "Don't d") << "rop tables\n";
std::cout << (vm.count("no-index")? "D" : "Don't c") << "reate indexes\n";
std::cout << (vm.count("addnodes")? "A" : "Don't a") << "dd OSM nodes\n";
#if 0
std::cout << (vm.count("addways")? "A" : "Don't a") << "dd OSM ways\n";
std::cout << (vm.count("addrelations")? "A" : "Don't a") << "dd OSM relations\n";
#if 0
std::cout << (vm.count("fork")? "F" : "Don't f") << "ork\n";
#endif
std::cout << "***************************************************\n";
Expand Down

0 comments on commit 6ffac06

Please sign in to comment.