Skip to content

Commit

Permalink
remove next_display_order option in Command
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed Dec 5, 2023
1 parent 426096c commit 5f0892f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/cargo-miden/src/cli_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ pub struct MidenArgs {
#[derive(Debug, Subcommand)]
pub enum Commands {
/// Compile the current project to MASM
#[command(next_display_order(10), name = "compile")]
#[command(name = "compile")]
Compile {
/// The target environment to compile for
#[arg(long = "target", value_name = "TARGET", default_value_t = TargetEnv::Base, display_order(2))]
#[arg(long = "target", value_name = "TARGET", default_value_t = TargetEnv::Base)]
target: TargetEnv,

/// Tells the compiler to produce an executable Miden program from the binary target or a library from the lib target if not specified
Expand All @@ -43,6 +43,6 @@ pub enum Commands {
output_folder: PathBuf,
},
/// Scaffold a new Miden project at the given path
#[command(next_display_order(10), name = "new")]
#[command(name = "new")]
New { path: PathBuf },
}

0 comments on commit 5f0892f

Please sign in to comment.