Couldn't get -verbose to work, remove it.
This commit is contained in:
parent
f69704b7b1
commit
548f4106bc
@ -384,9 +384,6 @@ fn init_scene(width: usize, height: usize, n_subsamples: usize, n_aosamples: usi
|
||||
#[derive(StructOpt, Debug)]
|
||||
#[structopt()]
|
||||
struct Opt {
|
||||
/// Verbose mode (-v, -vv, -vvv, etc)
|
||||
#[structopt(short = "v", long = "verbose", parse(from_occurrences), default_value = "vvv")]
|
||||
verbose: usize,
|
||||
#[structopt(short = "w", long = "width", default_value = "512")]
|
||||
width: usize,
|
||||
#[structopt(short = "h", long = "height", default_value = "512")]
|
||||
@ -400,7 +397,7 @@ struct Opt {
|
||||
fn main() -> std::io::Result<()> {
|
||||
let opt = Opt::from_args();
|
||||
stderrlog::new()
|
||||
.verbosity(opt.verbose)
|
||||
.verbosity(3)
|
||||
.timestamp(stderrlog::Timestamp::Millisecond)
|
||||
.init()
|
||||
.unwrap();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user