Couldn't get -verbose to work, remove it.

This commit is contained in:
Bill Thiede 2018-07-21 20:10:23 -07:00
parent f69704b7b1
commit 548f4106bc

View File

@ -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();