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