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)]
|
#[derive(StructOpt, Debug)]
|
||||||
#[structopt()]
|
#[structopt()]
|
||||||
struct Opt {
|
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")]
|
#[structopt(short = "w", long = "width", default_value = "512")]
|
||||||
width: usize,
|
width: usize,
|
||||||
#[structopt(short = "h", long = "height", default_value = "512")]
|
#[structopt(short = "h", long = "height", default_value = "512")]
|
||||||
@ -400,7 +397,7 @@ struct Opt {
|
|||||||
fn main() -> std::io::Result<()> {
|
fn main() -> std::io::Result<()> {
|
||||||
let opt = Opt::from_args();
|
let opt = Opt::from_args();
|
||||||
stderrlog::new()
|
stderrlog::new()
|
||||||
.verbosity(opt.verbose)
|
.verbosity(3)
|
||||||
.timestamp(stderrlog::Timestamp::Millisecond)
|
.timestamp(stderrlog::Timestamp::Millisecond)
|
||||||
.init()
|
.init()
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user