From b008ed103d086d8444db9dc0d68f6970bbc5c000 Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Sat, 30 May 2015 17:54:16 -0400 Subject: [PATCH] Improve descriptions of available options. --- src/head/head.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/head/head.rs b/src/head/head.rs index 0ce2a961f..c0c27004a 100644 --- a/src/head/head.rs +++ b/src/head/head.rs @@ -41,8 +41,8 @@ pub fn uumain(args: Vec) -> i32 { opts.optopt("c", "bytes", "Print the first K bytes. With the leading '-', print all but the last K bytes", "[-]K"); opts.optopt("n", "lines", "Print the first K lines. With the leading '-', print all but the last K lines", "[-]K"); - opts.optflag("h", "help", "help"); - opts.optflag("V", "version", "version"); + opts.optflag("h", "help", "display this help and exit"); + opts.optflag("V", "version", "output version information and exit"); let given_options = match opts.parse(&args) { Ok (m) => { m }