difftreelog
docs Fix docs of trace.rs
in: master
1 file changed
crates/jrsonnet-cli/src/trace.rsdiffbeforeafterboth27#[derive(Clap)]27#[derive(Clap)]28// #[clap(help_heading = "STACK TRACE VISUAL")]28// #[clap(help_heading = "STACK TRACE VISUAL")]29pub struct TraceOpts {29pub struct TraceOpts {30 /// How stack traces should be displayed in console.30 /// Format of stack traces' display in console.31 /// compact format only shows `filename:line:column`s, where explaining displays source code31 /// `compact` format only shows `filename:line:column`s32 /// with attached trace annotations, so it is more verbose32 /// while `explaining` displays source code with attached trace annotations33 /// thus being more verbose.33 #[clap(long, possible_values = &["compact", "explaining"])]34 #[clap(long, possible_values = &["compact", "explaining"])]34 trace_format: Option<TraceFormatName>,35 trace_format: Option<TraceFormatName>,35 /// Amount of stack trace elements to be displayed, if zero - then full stack trace will be displayed36 /// Amount of stack trace elements to be displayed.37 /// If set to `0` then full stack trace will be displayed.36 #[clap(long, short = 't', default_value = "20")]38 #[clap(long, short = 't', default_value = "20")]37 max_trace: usize,39 max_trace: usize,38}40}