clif-util: always use pretty-env-logger (#4443)
Rather than sometimes using `file-per-thread-logger`. Also remove the debug CLI flags, so that we can always just define `RUST_LOG=...` to get logging and don't need to also do other things.
This commit is contained in:
@@ -15,14 +15,9 @@ pub struct Options {
|
||||
/// Specify input file(s) to be used. Use '-' for stdin.
|
||||
#[clap(required = true)]
|
||||
files: Vec<PathBuf>,
|
||||
|
||||
/// Enable debug output on stderr/stdout
|
||||
#[clap(short)]
|
||||
debug: bool,
|
||||
}
|
||||
|
||||
pub fn run(options: &Options) -> Result<()> {
|
||||
crate::handle_debug_flag(options.debug);
|
||||
for (i, f) in options.files.iter().enumerate() {
|
||||
if i != 0 {
|
||||
println!();
|
||||
|
||||
Reference in New Issue
Block a user