From ea3fc0caee3015a863d836c8d546b38080e3ce89 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Mon, 5 Nov 2018 23:23:06 +0100 Subject: [PATCH] Add help text --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 74662de..3d99757 100644 --- a/src/main.rs +++ b/src/main.rs @@ -174,7 +174,8 @@ fn run() -> io::Result<()> { .setting(AppSettings::DeriveDisplayOrder) .setting(AppSettings::UnifiedHelpMessage) .version(crate_version!()) - .arg(Arg::with_name("file").help("to do")); + .about(crate_description!()) + .arg(Arg::with_name("file").help("File to display")); let matches = app.get_matches();