From 0ac58539e16bb4c3b94109133f9cb7e9fa226fcd Mon Sep 17 00:00:00 2001 From: Tom French Date: Fri, 4 Aug 2023 10:51:47 +0100 Subject: [PATCH] chore: update message for option default value --- crates/nargo_cli/src/cli/init_cmd.rs | 2 +- crates/nargo_cli/src/cli/new_cmd.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nargo_cli/src/cli/init_cmd.rs b/crates/nargo_cli/src/cli/init_cmd.rs index 4f4604af28d..9025d6995e0 100644 --- a/crates/nargo_cli/src/cli/init_cmd.rs +++ b/crates/nargo_cli/src/cli/init_cmd.rs @@ -10,7 +10,7 @@ use std::path::PathBuf; /// Create a Noir project in the current directory. #[derive(Debug, Clone, Args)] pub(crate) struct InitCommand { - /// Name of the package (Defaults to current directory name) + /// Name of the package [default = current directory name] #[clap(long)] name: Option, } diff --git a/crates/nargo_cli/src/cli/new_cmd.rs b/crates/nargo_cli/src/cli/new_cmd.rs index 93567137a05..f4751a42ac9 100644 --- a/crates/nargo_cli/src/cli/new_cmd.rs +++ b/crates/nargo_cli/src/cli/new_cmd.rs @@ -11,7 +11,7 @@ pub(crate) struct NewCommand { /// The path to save the new project path: PathBuf, - /// Name of the package (Defaults to package directory name) + /// Name of the package [default = package directory name] #[clap(long)] name: Option, }