mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-22 07:43:39 +01:00
removed printlns, updated Changelog, updated man
This commit is contained in:
parent
d349974089
commit
6017989c4c
@ -4,6 +4,8 @@
|
||||
|
||||
- Added support for the `NO_COLOR` environment variable, see #1021 and #1031 (@eth-p)
|
||||
- Added `-P` short flag to disable paging, revised man page description, see #1075 and #1082 (@LordFlashmeow)
|
||||
- Added `--force-colorization` flag & `-f` short flag to provide an alias for forced colorization/decorization, \
|
||||
revised man page description, see #1141 (@alexanderkarlis)
|
||||
|
||||
## Bugfixes
|
||||
|
||||
|
6
assets/manual/bat.1.in
vendored
6
assets/manual/bat.1.in
vendored
@ -87,6 +87,12 @@ Specify when to use the decorations that have been specified via '\-\-style'. Th
|
||||
automatic mode only enables decorations if an interactive terminal is detected. Possible
|
||||
values: *auto*, never, always.
|
||||
.HP
|
||||
\fB\-f\fR, \fB\-\-force\-colorization\fR
|
||||
.IP
|
||||
Alias for '--decorations=always --color=always'. This is useful \
|
||||
if the output of bat is piped to another program, but you want \
|
||||
to keep the colorization/decorations.
|
||||
.HP
|
||||
\fB\-\-paging\fR <when>
|
||||
.IP
|
||||
Specify when to use the pager. To disable the pager, use \&'\-\-paging=never' or its alias,
|
||||
|
@ -288,7 +288,6 @@ impl App {
|
||||
|
||||
fn style_components(&self) -> Result<StyleComponents> {
|
||||
let matches = &self.matches;
|
||||
println!("{:#?}", matches);
|
||||
Ok(StyleComponents(
|
||||
if matches.value_of("decorations") == Some("never") {
|
||||
HashSet::new()
|
||||
|
@ -209,7 +209,6 @@ fn run() -> Result<bool> {
|
||||
} else {
|
||||
let inputs = vec![Input::ordinary_file(OsStr::new("cache"))];
|
||||
let config = app.config(&inputs)?;
|
||||
println!("{:#?}", config);
|
||||
|
||||
run_controller(inputs, &config)
|
||||
}
|
||||
@ -218,8 +217,6 @@ fn run() -> Result<bool> {
|
||||
let inputs = app.inputs()?;
|
||||
let config = app.config(&inputs)?;
|
||||
|
||||
println!("{:#?}", config);
|
||||
|
||||
if app.matches.is_present("list-languages") {
|
||||
list_languages(&config)?;
|
||||
Ok(true)
|
||||
|
Loading…
Reference in New Issue
Block a user