Skip to content

Commit 6ffac06

Browse files
authored
Merge pull request #193 from cayetanobv/dev-cayetano
Fixed print progress info and Prevent unused flags (addways and addrelations) from appearing in "Command Line Configuration"
2 parents 8def279 + 05c469e commit 6ffac06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/utilities/print_progress.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,6 @@ print_progress(T1 wantProgress, T2 currentProgress) {
4747
std::cout << "\r"
4848
<< bar
4949
<< " (" << static_cast<int>(100 * percent) << "%)"
50-
<< " Total porcessed: " << currentProgress << std::flush;
50+
<< " Total processed: " << currentProgress << std::flush;
5151
}
5252
#endif // SRC_PRINT_PROGRESS_H_

src/utilities/prog_options.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ process_command_line(po::variables_map &vm) {
104104
std::cout << (vm.count("clean")? "D" : "Don't d") << "rop tables\n";
105105
std::cout << (vm.count("no-index")? "D" : "Don't c") << "reate indexes\n";
106106
std::cout << (vm.count("addnodes")? "A" : "Don't a") << "dd OSM nodes\n";
107+
#if 0
107108
std::cout << (vm.count("addways")? "A" : "Don't a") << "dd OSM ways\n";
108109
std::cout << (vm.count("addrelations")? "A" : "Don't a") << "dd OSM relations\n";
109-
#if 0
110110
std::cout << (vm.count("fork")? "F" : "Don't f") << "ork\n";
111111
#endif
112112
std::cout << "***************************************************\n";

0 commit comments

Comments
 (0)