diff --git a/src/btop_cli.cpp b/src/btop_cli.cpp index e5f22d35..bf1b4d97 100644 --- a/src/btop_cli.cpp +++ b/src/btop_cli.cpp @@ -136,7 +136,7 @@ namespace Cli { auto arg = *it; try { - auto refresh_rate = std::min(std::stoul(arg.data()), 100UL); + auto refresh_rate = std::max(std::stoul(arg.data()), 100UL); cli.updates = refresh_rate; } catch (std::invalid_argument& e) { error("Update must be a positive number");