From 3857fa8f62b115aa8bd9bcab3d01da503b175c82 Mon Sep 17 00:00:00 2001 From: Nathan Moreau Date: Fri, 12 Apr 2019 00:46:07 +0200 Subject: [PATCH] Amend clap configuration for path-separator. --- src/app.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index 38b8154..cd7066e 100644 --- a/src/app.rs +++ b/src/app.rs @@ -210,8 +210,9 @@ pub fn build_app() -> App<'static, 'static> { .arg( arg("path-separator") .takes_value(true) + .value_name("separator") .long("path-separator") - .number_of_values(1), + .hidden_short_help(true), ) .arg(arg("path").multiple(true)) .arg(