Mercurial > public > mercurial-scm > hg-stable
diff rust/rhg/src/commands/debugrequirements.rs @ 46553:1ecaf09d9964
rhg: Move subcommand CLI arguments definitions to respective modules
Differential Revision: https://phab.mercurial-scm.org/D9968
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Mon, 08 Feb 2021 21:05:36 +0100 |
parents | 184e46550dc8 |
children | d8730ff51d5a |
line wrap: on
line diff
--- a/rust/rhg/src/commands/debugrequirements.rs Mon Feb 08 20:33:04 2021 +0100 +++ b/rust/rhg/src/commands/debugrequirements.rs Mon Feb 08 21:05:36 2021 +0100 @@ -8,6 +8,10 @@ Print the current repo requirements. "; +pub fn args() -> clap::App<'static, 'static> { + clap::SubCommand::with_name("debugrequirements").about(HELP_TEXT) +} + pub fn run( ui: &Ui, config: &Config,