@@ -248,13 +248,13 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
248248 .multiple(true)
249249 .takes_value(true)
250250 .number_of_values(1)
251− .value_name("from:to")
252− .help("Map a file extension or name to an existing syntax.")
251+ .value_name("glob:syntax")
252+ .help("Use the specified syntax for files matching the glob pattern ('*.cpp:C++').")
253253 .long_help(
254− "Map a file extension or file name to an existing syntax (specified by a file \
255− extension or file name). For example, to highlight *.build files with the \
256− Python syntax, use '-m build:py'. To highlight files named '.myignore' with \
257− the Git Ignore syntax, use '-m .myignore:gitignore'.",
254+ "Map a glob pattern to an existing syntax name. The glob pattern is matched \
255+ on the full path and the filename. For example, to highlight *.build files \
256+ with the Python syntax, use -m '*.build:Python'. To highlight files named \
257+ '.myignore' with the Git Ignore syntax, use -m '.myignore:Git Ignore'.",
258258 )
259259 .takes_value(true),
260260 )
@@ -281,7 +281,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
281281 .arg(
282282 Arg::with_name("style")
283283 .long("style")
284− .value_name("style-components")
284+ .value_name("components")
285285 // Need to turn this off for overrides_with to work as we want. See the bottom most
286286 // example at https://docs.rs/clap/2.32.0/clap/struct.Arg.html#method.overrides_with
287287 .use_delimiter(false)