Fix warnings
This commit is contained in:
+1
-1
@@ -7,6 +7,6 @@ edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
vasm_core = { path = "../vasm_core" }
|
||||
clap = { version = "3.1.18", features = ["derive"] }
|
||||
clap = { version = "4.6.6", features = ["derive"] }
|
||||
regex = "1.7.0"
|
||||
serde_json = "1.0.91"
|
||||
|
||||
+4
-4
@@ -7,18 +7,18 @@ use serde_json::json;
|
||||
|
||||
/// Vulcan Assembler
|
||||
#[derive(Parser, Debug)]
|
||||
#[clap(author, version, about, long_about = None)]
|
||||
#[command(author, version, about, long_about = None)]
|
||||
struct Args {
|
||||
/// File to output to
|
||||
#[clap(short, long)]
|
||||
#[arg(short, long)]
|
||||
output: Option<String>,
|
||||
|
||||
/// Whether to generate a JSON file containing the symbol table
|
||||
#[clap(short, long)]
|
||||
#[arg(short, long)]
|
||||
symbols: bool,
|
||||
|
||||
/// Input file
|
||||
#[clap()]
|
||||
#[arg()]
|
||||
file: String,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user