mirror of
https://github.com/uutils/coreutils
synced 2024-12-17 16:43:16 +00:00
more: comment out unimplemented arguments
This commit is contained in:
parent
9d17c1fddf
commit
762da0bd37
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,8 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
||||||
let matches = App::new(executable!())
|
let matches = App::new(executable!())
|
||||||
.about("A file perusal filter for CRT viewing.")
|
.about("A file perusal filter for CRT viewing.")
|
||||||
.version(env!("CARGO_PKG_VERSION"))
|
.version(env!("CARGO_PKG_VERSION"))
|
||||||
|
// The commented arguments below are unimplemented:
|
||||||
|
/*
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name(options::SILENT)
|
Arg::with_name(options::SILENT)
|
||||||
.short("d")
|
.short("d")
|
||||||
|
@ -125,6 +127,7 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.help("Display file beginning from pattern match"),
|
.help("Display file beginning from pattern match"),
|
||||||
)
|
)
|
||||||
|
*/
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name(options::FILES)
|
Arg::with_name(options::FILES)
|
||||||
.required(false)
|
.required(false)
|
||||||
|
@ -132,6 +135,7 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
||||||
.help("Path to the files to be read"),
|
.help("Path to the files to be read"),
|
||||||
)
|
)
|
||||||
.get_matches_from(args);
|
.get_matches_from(args);
|
||||||
|
|
||||||
let mut buff = String::new();
|
let mut buff = String::new();
|
||||||
if let Some(filenames) = matches.values_of(options::FILES) {
|
if let Some(filenames) = matches.values_of(options::FILES) {
|
||||||
let mut stdout = setup_term();
|
let mut stdout = setup_term();
|
||||||
|
|
Loading…
Reference in a new issue