comparison rust/rhg/src/commands/files.rs @ 53018:65f6f1fe43ef

rhg-files: use the correct long-form flag for selecting a revision This went unnoticed forever, I guess most users pass in `-r`.
author Rapha?l Gom?s <rgomes@octobus.net>
date Wed, 26 Feb 2025 09:25:53 -0500
parents 393ad2685fb4
children
comparison
equal deleted inserted replaced
53017:3ac28aa1430e 53018:65f6f1fe43ef
24 clap::command!("files") 24 clap::command!("files")
25 .arg( 25 .arg(
26 Arg::new("rev") 26 Arg::new("rev")
27 .help("search the repository as it is in REV") 27 .help("search the repository as it is in REV")
28 .short('r') 28 .short('r')
29 .long("revision") 29 .long("rev")
30 .value_name("REV"), 30 .value_name("REV"),
31 ) 31 )
32 .arg( 32 .arg(
33 Arg::new("file") 33 Arg::new("file")
34 .value_parser(clap::value_parser!(std::ffi::OsString)) 34 .value_parser(clap::value_parser!(std::ffi::OsString))