|
@@ -53,6 +53,12 @@ pub static TIME_STYLE: Arg = Arg { short: None, long: "time-style", takes_
|
|
|
const TIMES: Values = &["modified", "changed", "accessed", "created"];
|
|
const TIMES: Values = &["modified", "changed", "accessed", "created"];
|
|
|
const TIME_STYLES: Values = &["default", "long-iso", "full-iso", "iso"];
|
|
const TIME_STYLES: Values = &["default", "long-iso", "full-iso", "iso"];
|
|
|
|
|
|
|
|
|
|
+// suppressing columns
|
|
|
|
|
+pub static NO_PERMISSIONS: Arg = Arg { short: None, long: "no-permissions", takes_value: TakesValue::Forbidden };
|
|
|
|
|
+pub static NO_FILESIZE: Arg = Arg { short: None, long: "no-filesize", takes_value: TakesValue::Forbidden };
|
|
|
|
|
+pub static NO_USER: Arg = Arg { short: None, long: "no-user", takes_value: TakesValue::Forbidden };
|
|
|
|
|
+pub static NO_TIME: Arg = Arg { short: None, long: "no-time", takes_value: TakesValue::Forbidden };
|
|
|
|
|
+
|
|
|
// optional feature options
|
|
// optional feature options
|
|
|
pub static GIT: Arg = Arg { short: None, long: "git", takes_value: TakesValue::Forbidden };
|
|
pub static GIT: Arg = Arg { short: None, long: "git", takes_value: TakesValue::Forbidden };
|
|
|
pub static EXTENDED: Arg = Arg { short: Some(b'@'), long: "extended", takes_value: TakesValue::Forbidden };
|
|
pub static EXTENDED: Arg = Arg { short: Some(b'@'), long: "extended", takes_value: TakesValue::Forbidden };
|
|
@@ -69,6 +75,7 @@ pub static ALL_ARGS: Args = Args(&[
|
|
|
|
|
|
|
|
&BINARY, &BYTES, &GROUP, &HEADER, &ICONS, &INODE, &LINKS, &MODIFIED, &CHANGED,
|
|
&BINARY, &BYTES, &GROUP, &HEADER, &ICONS, &INODE, &LINKS, &MODIFIED, &CHANGED,
|
|
|
&BLOCKS, &TIME, &ACCESSED, &CREATED, &TIME_STYLE,
|
|
&BLOCKS, &TIME, &ACCESSED, &CREATED, &TIME_STYLE,
|
|
|
|
|
+ &NO_PERMISSIONS, &NO_FILESIZE, &NO_USER, &NO_TIME,
|
|
|
|
|
|
|
|
&GIT, &EXTENDED,
|
|
&GIT, &EXTENDED,
|
|
|
]);
|
|
]);
|