on master help sign in
Change help text for --line-range
commit65e6970907e55c4e0c5cc72037bb0053b33e3673 authorsharkdp <davidpeter@web.de> dateTue 12 Jun 2018, 08:01 (8 years ago) parent90cc019
1 file changed+2−1
src/app.rs+2−1
src/app.rs+2−1
@@ -146,7 +146,8 @@ impl App {
146146 .long("line-range")
147147 .overrides_with("line-range")
148148 .takes_value(true)
149− .help("Print range of lines")
149+ .value_name("n:m")
150+ .help("Only print the lines from n to m")
150151 .long_help(
151152 "Print a specified range or ranges of lines from the files. \
152153 For example: '--line-range 30:40' will print lines 30 to 40 \n\