update error messages

This commit is contained in:
evan-schott 2024-01-08 14:51:13 -08:00
parent 47a5e1a44d
commit 7c957ced1b
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ create_messages!(
@formatted
imported_program_not_found {
args: (main_program_name: impl Display, dependency_name: impl Display),
msg: format!("`{main_program_name}` imports `{dependency_name}.aleo`, but `{dependency_name}.aleo` is not found in `program.json`."),
msg: format!("`{main_program_name}` imports `{dependency_name}.aleo`, but `{dependency_name}.aleo` is not found in program manifest. Use `leo add --help` for more information on how to add a dependency."),
help: None,
}
);

View File

@ -73,7 +73,7 @@ enum Commands {
#[clap(flatten)]
command: Deploy,
},
#[clap(about = "Add a new dependency to the current package. Defaults to testnet3 network")]
#[clap(about = "Add a new on-chain or local dependency to the current package.")]
Add {
#[clap(flatten)]
command: Add,