diff options
Diffstat (limited to 'src/other_tools/just_mr/cli.hpp')
-rw-r--r-- | src/other_tools/just_mr/cli.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/cli.hpp b/src/other_tools/just_mr/cli.hpp index 72e6f8a4..4e363460 100644 --- a/src/other_tools/just_mr/cli.hpp +++ b/src/other_tools/just_mr/cli.hpp @@ -41,6 +41,7 @@ struct MultiRepoCommonArguments { std::optional<std::filesystem::path> just_path{std::nullopt}; std::optional<std::string> main{std::nullopt}; std::optional<std::filesystem::path> rc_path{std::nullopt}; + std::optional<std::filesystem::path> git_path{std::nullopt}; bool norc{false}; std::size_t jobs{std::max(1U, std::thread::hardware_concurrency())}; }; @@ -148,6 +149,10 @@ static inline void SetupMultiRepoCommonArguments( }, "Use just-mrrc file from custom path.") ->type_name("RCFILE"); + app->add_option("--git", + clargs->git_path, + "Path to the git binary. (Default: \"git\")") + ->type_name("PATH"); app->add_flag("--norc", clargs->norc, "Do not use any just-mrrc file."); app->add_option("-j, --jobs", clargs->jobs, |