Skip to content

Commit

Permalink
[feat] define 'keep-remote-order' as a global comand line option (inv…
Browse files Browse the repository at this point in the history
…ert of '--invert-remote-order')
  • Loading branch information
Stephane Leduc committed Feb 28, 2024
1 parent 68b2a5c commit d44c4fe
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 @@ -176,7 +176,7 @@ CmdOptions::CmdOptions()
m_cliApp.add_option("--apiKey,-k", m_apiKey, "Artifactory api key");
m_cliApp.add_option("--alternate-remote-type,-l", m_altRepoType, "[install command] alternate remote type: " + getOptionString("--alternate-remote-type"));
m_cliApp.add_option("--alternate-remote-url,-u", m_altRepoUrl, "[install command] alternate remote url to use when the declared remote fails to provide a dependency");
m_cliApp.add_flag("--invert-remote-order", m_invertRepositoryOrder, "[install command] invert alternate and base remote search order : alternate remote is searched before packagedependencies declared remote");
m_cliApp.add_flag("--invert-remote-order,!--keep-remote-order", m_invertRepositoryOrder, "[install command] invert alternate and base remote search order : alternate remote is searched before packagedependencies declared remote");

m_dependenciesFile = "packagedependencies.txt";

Expand Down

0 comments on commit d44c4fe

Please sign in to comment.