@@ -13,17 +13,18 @@ use scan_fmt_xml::scan_core::{adaptive_bound, okamoto_bound, CsModelBuilder, Run
13
13
enum Format {
14
14
/// SCXML format
15
15
Scxml ,
16
- /// Jani format
16
+ /// JANI format
17
17
Jani ,
18
18
}
19
+
19
20
/// A statistical model checker for large concurrent systems
20
21
#[ derive( Parser ) ]
21
- #[ command( author , version, about, long_about = None ) ]
22
+ #[ command( version, about, long_about = None ) ]
22
23
pub struct Cli {
23
24
/// Path of model's main XML file
24
25
#[ arg( value_hint = clap:: ValueHint :: DirPath , default_value = "." ) ]
25
26
model : PathBuf ,
26
- /// Model specification format to use
27
+ /// Format used to specify the model
27
28
#[ arg( value_enum, short, long, default_value = "scxml" ) ]
28
29
format : Format ,
29
30
/// Confidence
@@ -42,7 +43,7 @@ pub struct Cli {
42
43
#[ arg( long = "save-traces" , default_value = "false" ) ]
43
44
trace : bool ,
44
45
/// ASCII compatible output
45
- #[ arg( long = "ascii" , default_value = "false" ) ]
46
+ #[ arg( long, default_value = "false" ) ]
46
47
ascii : bool ,
47
48
}
48
49
@@ -121,9 +122,9 @@ fn print_progress_bar(
121
122
ascii : bool ,
122
123
) {
123
124
const ARROW : & str = "⎯→ " ;
124
- const ASCII_ARROW : & str = "= > " ;
125
+ const ASCII_ARROW : & str = "- > " ;
125
126
const FINE_BAR : & str = "█▉▊▋▌▍▎▏ " ;
126
- const ASCII_BAR : & str = "#= " ;
127
+ const ASCII_BAR : & str = "# " ;
127
128
const ASCII_SPINNER : & str = "|/-\\ " ;
128
129
let run_status = bar_state. lock ( ) . expect ( "lock state" ) . clone ( ) ;
129
130
0 commit comments