rhg-files: use the correct long-form flag for selecting a revision
authorRapha?l Gom?s <rgomes@octobus.net>
Wed, 26 Feb 2025 09:25:53 -0500
changeset 53017 65f6f1fe43ef
parent 53016 3ac28aa1430e
child 53018 878846a50203
rhg-files: use the correct long-form flag for selecting a revision This went unnoticed forever, I guess most users pass in `-r`.
rust/rhg/src/commands/files.rs
--- a/rust/rhg/src/commands/files.rs	Mon Feb 24 16:56:09 2025 -0500
+++ b/rust/rhg/src/commands/files.rs	Wed Feb 26 09:25:53 2025 -0500
@@ -26,7 +26,7 @@
             Arg::new("rev")
                 .help("search the repository as it is in REV")
                 .short('r')
-                .long("revision")
+                .long("rev")
                 .value_name("REV"),
         )
         .arg(