mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-27 02:24:15 +03:00
update error messages
This commit is contained in:
parent
d97387ba52
commit
fdb8bd4592
@ -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