diff options
Diffstat (limited to 'src/parseopts.rs')
-rw-r--r-- | src/parseopts.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parseopts.rs b/src/parseopts.rs index 3a06114..60f811e 100644 --- a/src/parseopts.rs +++ b/src/parseopts.rs @@ -118,10 +118,10 @@ pub fn parseopt(opts: &mut OptsBuilder, arg: &str, value: Option<String>, progna opts.graph_type = GraphType::Ascii; } "braille" | "braille6" => { - opts.graph_type = GraphType::Braille(BrailleType::dot6); + opts.graph_type = GraphType::Braille(BrailleType::Dot6); } "braille8" => { - opts.graph_type = GraphType::Braille(BrailleType::dot8); + opts.graph_type = GraphType::Braille(BrailleType::Dot8); } t => { println!( @@ -161,7 +161,7 @@ pub fn parseopt(opts: &mut OptsBuilder, arg: &str, value: Option<String>, progna opts.graph_type = GraphType::Ascii; } "b" | "braille" => { - opts.graph_type = GraphType::Braille(BrailleType::dot6); + opts.graph_type = GraphType::Braille(BrailleType::Dot6); } "c" | "cut" => { opts.cut = true; |