Skip to content

Commit

Permalink
fix the no color option
Browse files Browse the repository at this point in the history
  • Loading branch information
radj307 committed Jan 28, 2022
1 parent c35e96b commit d35d43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ARRCON/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ int main(const int argc, char** argv)
const opt::ParamsAPI2 args{ argc, argv, 'H', "host", 'S', "saved", 'P', "port", 'p', "pass", 'w', "wait", 'f', "file", "save-host", "remove-host" }; // parse arguments

// Argument: [-n|--no-color]
if (const auto arg{ args.typegetv_any<opt::Option, opt::Flag>('n', "no-color") }; arg.has_value()) {
if (args.check_any<opt::Option, opt::Flag>('n', "no-color")) {
Global.no_color = true;
Global.enable_bukkit_color_support = false;
Global.palette.setActive(false);
Expand Down

0 comments on commit d35d43d

Please sign in to comment.