Skip to content

Commit c1268f9

Browse files
committed
Fix invalid default value for --min-width
1 parent b65fd83 commit c1268f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ pub struct FlamegraphOptions {
501501
pub notes: Option<String>,
502502

503503
/// Omit functions smaller than <FLOAT> pixels
504-
#[clap(long, default_value = "0.01f32", value_name = "FLOAT")]
504+
#[clap(long, default_value = "0.01", value_name = "FLOAT")]
505505
pub min_width: f64,
506506

507507
/// Image width in pixels

0 commit comments

Comments
 (0)