mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Improve descriptions of available options.
This commit is contained in:
+2
-2
@@ -41,8 +41,8 @@ pub fn uumain(args: Vec<String>) -> 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 }
|
||||
|
||||
Reference in New Issue
Block a user