summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other_tools/just_mr/main.cpp')
-rw-r--r--src/other_tools/just_mr/main.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/other_tools/just_mr/main.cpp b/src/other_tools/just_mr/main.cpp
index 31f63d3d..23a81f59 100644
--- a/src/other_tools/just_mr/main.cpp
+++ b/src/other_tools/just_mr/main.cpp
@@ -330,8 +330,7 @@ auto main(int argc, char* argv[]) -> int {
if (arguments.cmd == SubCommand::kJustDo or
arguments.cmd == SubCommand::kJustSubCmd) {
// check setup configuration arguments for validity
- if (arguments.common.compatible == true and
- arguments.common.fetch_absent) {
+ if (arguments.common.compatible and arguments.common.fetch_absent) {
Logger::Log(LogLevel::Error,
"Fetching absent repositories only available in "
"native mode!");
@@ -361,8 +360,7 @@ auto main(int argc, char* argv[]) -> int {
if (arguments.cmd == SubCommand::kSetup or
arguments.cmd == SubCommand::kSetupEnv) {
// check setup configuration arguments for validity
- if (arguments.common.compatible == true and
- arguments.common.fetch_absent) {
+ if (arguments.common.compatible and arguments.common.fetch_absent) {
Logger::Log(LogLevel::Error,
"Fetching absent repositories only available in "
"native mode!");
@@ -396,7 +394,7 @@ auto main(int argc, char* argv[]) -> int {
// Run subcommand `fetch`
if (arguments.cmd == SubCommand::kFetch) {
// check fetch configuration arguments for validity
- if (arguments.common.compatible == true) {
+ if (arguments.common.compatible) {
if (arguments.common.remote_execution_address and
arguments.fetch.backup_to_remote) {
Logger::Log(