rust/rhg/src/commands/root.rs
changeset 46501 1ecaf09d9964
parent 46500 184e46550dc8
child 46503 d8730ff51d5a
--- a/rust/rhg/src/commands/root.rs	Mon Feb 08 20:33:04 2021 +0100
+++ b/rust/rhg/src/commands/root.rs	Mon Feb 08 21:05:36 2021 +0100
@@ -12,6 +12,10 @@
 Returns 0 on success.
 ";
 
+pub fn args() -> clap::App<'static, 'static> {
+    clap::SubCommand::with_name("root").about(HELP_TEXT)
+}
+
 pub fn run(
     ui: &Ui,
     config: &Config,