mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-18 07:11:53 +03:00
update error messages
This commit is contained in:
parent
47a5e1a44d
commit
7c957ced1b
@ -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,
|
||||
}
|
||||
);
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user