mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-26 01:33:44 +01:00
Add extra themes help to output
This commit is contained in:
parent
877d9120c9
commit
3acfe790b9
@ -205,6 +205,14 @@ pub fn list_themes(cfg: &Config) -> Result<()> {
|
|||||||
writeln!(stdout, "{}", theme)?;
|
writeln!(stdout, "{}", theme)?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
writeln!(
|
||||||
|
stdout,
|
||||||
|
"Further themes can be installed to '{}/themes', \
|
||||||
|
and are added to the cache with `bat cache --build`. \
|
||||||
|
For more information, see:\n\n \
|
||||||
|
https://github.com/sharkdp/bat#adding-new-themes",
|
||||||
|
config_file().to_string_lossy()
|
||||||
|
)?;
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user