Skip to content

Commit b2df5ca

Browse files
committed
release(cli): v0.13.0
1 parent 8e4b78e commit b2df5ca

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

cambridge-asm-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "cambridge-asm-cli"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
authors = ["SaadiSave <https://github.com/SaadiSave>"]
55
edition = "2021"
66
license = "MPL-2.0"

cambridge-asm-cli/src/main.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const INST_SET: InstSet = parse::get_fn_ext;
2222

2323
#[derive(Parser)]
2424
#[clap(name = "Cambridge Pseudoassembly Interpreter")]
25-
#[clap(version = "0.12")]
25+
#[clap(version = "0.13")]
2626
#[clap(author = "Saadi Save <github.com/SaadiSave>")]
2727
#[clap(about = "Run pseudoassembly from Cambridge International syllabus 9618 (2021)")]
2828
struct Cli {
@@ -34,44 +34,44 @@ struct Cli {
3434
enum Commands {
3535
/// Run compiled or plaintext pseudoassembly
3636
Run {
37-
#[clap(help = "Path to the input file containing compiled or plaintext pseudoassembly")]
37+
/// Path to the input file containing compiled or plaintext pseudoassembly
3838
path: OsString,
3939

40+
/// Increase logging level
4041
#[clap(short = 'v', long = "verbose", parse(from_occurrences))]
41-
#[clap(help = "Increase logging level")]
4242
verbosity: usize,
4343

44+
/// Show execution time
4445
#[clap(short = 't', long = "bench")]
45-
#[clap(help = "Show execution time")]
4646
bench: bool,
4747

48+
/// Format of input file
4849
#[clap(arg_enum)]
49-
#[clap(default_value_t = InFormats::Pasm)]
5050
#[clap(short = 'f', long = "format")]
51-
#[clap(help = "Format of input file")]
51+
#[clap(default_value_t = InFormats::Pasm)]
5252
format: InFormats,
5353
},
5454
/// Compile pseudoassembly
5555
Compile {
56-
#[clap(help = "Path to the input file containing pseudoassembly")]
56+
/// Path to the input file containing pseudoassembly
5757
input: OsString,
5858

59+
/// Path to output file
5960
#[clap(short = 'o', long = "output")]
60-
#[clap(help = "Path to output file")]
6161
output: Option<OsString>,
6262

63+
/// Increase logging level
6364
#[clap(short = 'v', long = "verbose", parse(from_occurrences))]
64-
#[clap(help = "Increase logging level")]
6565
verbosity: usize,
6666

67+
/// Format of output file
6768
#[clap(arg_enum)]
6869
#[clap(short = 'f', long = "format")]
69-
#[clap(help = "Format of output file")]
7070
#[clap(default_value_t = OutFormats::Json)]
7171
format: OutFormats,
7272

73+
/// Minify output
7374
#[clap(short = 'm', long = "minify")]
74-
#[clap(help = "Minify output")]
7575
minify: bool,
7676
},
7777
}

0 commit comments

Comments
 (0)