##// END OF EJS Templates
rhg: in rhg cat cli, fix the long name of the --rev flag...
Arseniy Alekseyev -
r48986:08c8cd25 default
parent child Browse files
Show More
@@ -16,7 +16,7 b" pub fn args() -> clap::App<'static, 'sta"
16 16 Arg::with_name("rev")
17 17 .help("search the repository as it is in REV")
18 18 .short("-r")
19 .long("--revision")
19 .long("--rev")
20 20 .value_name("REV")
21 21 .takes_value(true),
22 22 )
@@ -26,7 +26,7 b" pub fn args() -> clap::App<'static, 'sta"
26 26 .multiple(true)
27 27 .empty_values(false)
28 28 .value_name("FILE")
29 .help("Activity to start: activity@category"),
29 .help("Files to output"),
30 30 )
31 31 .about(HELP_TEXT)
32 32 }
@@ -121,6 +121,8 b' Specifying revisions by changeset ID'
121 121 file-3
122 122 $ $NO_FALLBACK rhg cat -r cf8b83 file-2
123 123 2
124 $ $NO_FALLBACK rhg cat --rev cf8b83 file-2
125 2
124 126 $ $NO_FALLBACK rhg cat -r c file-2
125 127 abort: ambiguous revision identifier: c
126 128 [255]
General Comments 0
You need to be logged in to leave comments. Login now