mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 06:02:36 +00:00
Remove the --prefix-indent flag
This flag is not more possible with the term_grid layout tool
This commit is contained in:
parent
27f8fd3c6f
commit
7ead8aec4e
3 changed files with 0 additions and 13 deletions
|
@ -53,12 +53,6 @@ pub fn build() -> App<'static, 'static> {
|
|||
.number_of_values(1)
|
||||
.help("Whether to use fancy or unicode icons"),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("prefix-indent")
|
||||
.long("prefix-indent")
|
||||
.multiple(false)
|
||||
.help("Prefix tab indent before file and directory names in output"),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("indicators")
|
||||
.short("F")
|
||||
|
|
|
@ -58,10 +58,6 @@ fn inner_display_grid(
|
|||
continue;
|
||||
}
|
||||
|
||||
if flags.prefix_indent {
|
||||
output.push_str(" ");
|
||||
}
|
||||
|
||||
let blocks = get_output(&meta, &colors, &icons, &flags, &padding_rules);
|
||||
|
||||
for block in blocks {
|
||||
|
|
|
@ -13,7 +13,6 @@ pub struct Flags {
|
|||
pub size: SizeFlag,
|
||||
pub date: DateFlag,
|
||||
pub color: WhenFlag,
|
||||
pub prefix_indent: bool,
|
||||
pub icon: WhenFlag,
|
||||
pub icon_theme: IconTheme,
|
||||
pub recursion_depth: usize,
|
||||
|
@ -155,7 +154,6 @@ impl Flags {
|
|||
} else {
|
||||
WhenFlag::from(color_inputs[color_inputs.len() - 1])
|
||||
},
|
||||
prefix_indent: matches.is_present("prefix-indent"),
|
||||
icon: if classic_mode {
|
||||
WhenFlag::Never
|
||||
} else {
|
||||
|
@ -187,7 +185,6 @@ impl Default for Flags {
|
|||
size: SizeFlag::Default,
|
||||
date: DateFlag::Date,
|
||||
color: WhenFlag::Auto,
|
||||
prefix_indent: false,
|
||||
icon: WhenFlag::Auto,
|
||||
icon_theme: IconTheme::Fancy,
|
||||
blocks: vec![],
|
||||
|
|
Loading…
Reference in a new issue