mirror of
https://github.com/sharkdp/bat.git
synced 2025-08-14 02:05:29 +02:00
Update to bugreport 0.3.0
This commit is contained in:
@ -228,7 +228,7 @@ fn run() -> Result<bool> {
|
||||
let app = App::new()?;
|
||||
|
||||
if app.matches.is_present("diagnostic") {
|
||||
use bugreport::{bugreport, collectors::*};
|
||||
use bugreport::{bugreport, collector::*, format::Markdown};
|
||||
|
||||
bugreport!()
|
||||
.info(SoftwareVersion::default())
|
||||
@ -252,7 +252,7 @@ fn run() -> Result<bool> {
|
||||
.info(FileContent::new("Config file", config_file()))
|
||||
.info(CompileTimeInformation::default())
|
||||
.info(CommandOutput::new("Less version", "less", &["--version"]))
|
||||
.print_markdown();
|
||||
.print::<Markdown>();
|
||||
|
||||
return Ok(true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user