Browse Source

Changed version number; Removed deprecated --benchmark flag

main
Unbewohnte 3 years ago
parent
commit
7d9d6a3236
  1. 6
      src/main.cpp

6
src/main.cpp

@ -28,7 +28,7 @@ along with broom. If not, see <https://www.gnu.org/licenses/>.
#include "broom.hpp" #include "broom.hpp"
// Broom version number // Broom version number
#define VERSION "v0.1.2" #define VERSION "v0.2.0"
void print_help() { void print_help() {
std::cout std::cout
@ -66,7 +66,6 @@ void print_version() {
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
bool benchmarking = false;
bool sweeping = false; bool sweeping = false;
std::filesystem::path tracked_path; std::filesystem::path tracked_path;
@ -88,9 +87,6 @@ int main(int argc, char* argv[]) {
print_version(); print_version();
return 0; return 0;
} }
else if (strcmp(argv[i], "-b") == 0 || strcmp(argv[i], "--benchmark") == 0) {
benchmarking = true;
}
else if (strcmp(argv[i], "sweep") == 0) { else if (strcmp(argv[i], "sweep") == 0) {
sweeping = true; sweeping = true;
} }

Loading…
Cancel
Save