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!())
|
||||
.about("A file perusal filter for CRT viewing.")
|
||||
.version(env!("CARGO_PKG_VERSION"))
|
||||
// The commented arguments below are unimplemented:
|
||||
/*
|
||||
.arg(
|
||||
Arg::with_name(options::SILENT)
|
||||
.short("d")
|
||||
|
@ -125,6 +127,7 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
|||
.takes_value(true)
|
||||
.help("Display file beginning from pattern match"),
|
||||
)
|
||||
*/
|
||||
.arg(
|
||||
Arg::with_name(options::FILES)
|
||||
.required(false)
|
||||
|
@ -132,6 +135,7 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
|||
.help("Path to the files to be read"),
|
||||
)
|
||||
.get_matches_from(args);
|
||||
|
||||
let mut buff = String::new();
|
||||
if let Some(filenames) = matches.values_of(options::FILES) {
|
||||
let mut stdout = setup_term();
|
||||
|
|
Loading…
Reference in a new issue