Skip to content

Commit

Permalink
start
Browse files Browse the repository at this point in the history
  • Loading branch information
FroVolod committed Jan 3, 2024
1 parent dcfb09e commit f148f8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/commands/contract/call_function/as_read_only/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub struct CallFunctionView {
#[interactive_clap(skip_default_input_arg)]
/// How do you want to pass the function call arguments?
function_args_type: super::call_function_args_type::FunctionArgsType,
/// Enter the arguments to this function or the path to the arguments file:
/// Enter the arguments to this function:
function_args: String,
#[interactive_clap(named_arg)]
/// Select network
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ impl std::fmt::Display for FunctionArgsType {
impl std::fmt::Display for FunctionArgsTypeDiscriminants {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::JsonArgs => write!(f, "json-args"),
Self::TextArgs => write!(f, "text-args"),
Self::Base64Args => write!(f, "base64-args"),
Self::FileArgs => write!(f, "file-args"),
Self::JsonArgs => write!(f, "json-args - Valid JSON arguments (e.g. {{\"token_id\": \"42\"}} or {{}} if no arguments)"),
Self::TextArgs => write!(f, "text-args - Arbitrary text arguments"),
Self::Base64Args => write!(f, "base64-args - Base64-encoded string (e.g. e30=)"),
Self::FileArgs => write!(f, "file-args - Read from file reusable JSON or binary data (e.g. ./args.json)"),
}
}
}
Expand Down

0 comments on commit f148f8c

Please sign in to comment.