Skip to content

Commit

Permalink
fix: set --invert-remote-order as a flag instead of an option
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefly35 committed Sep 24, 2021
1 parent 549e8fc commit 7f49f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CmdOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ CmdOptions::CmdOptions()
CLI::App * installCommand = m_cliApp.add_subcommand("install", "install dependencies for a package from its packagedependencies file(s)");
installCommand->add_option("--alternate-remote-type,-l", m_altRepoType, "alternate remote type: " + getOptionString("--alternate-remote-type"));
installCommand->add_option("--alternate-remote-url,-u", m_altRepoUrl, "alternate remote url to use when the declared remote fails to provide a dependency");
installCommand->add_option("--invert-remote-order", m_invertRepositoryOrder, "invert alternate and base remote search order : alternate remote is searched before packagedependencies declared remote", true);
installCommand->add_flag("--invert-remote-order", m_invertRepositoryOrder, "invert alternate and base remote search order : alternate remote is searched before packagedependencies declared remote");
installCommand->add_option("--apiKey,-k", m_apiKey, "Artifactory api key");
installCommand->add_option("file", m_dependenciesFile, "Remaken dependencies files", true);
installCommand->add_option("--conan_profile", m_conanProfile, "force conan profile name to use (overrides detected profile)",true);
Expand Down

0 comments on commit 7f49f7d

Please sign in to comment.