Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tx-manage-data): copy/paste error for help docs #1763

Merged
merged 1 commit into from
Nov 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion FULL_HELP_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1690,7 +1690,7 @@ Sets, modifies, or deletes a data entry (name/value pair) that is attached to an
* `--hd-path <HD_PATH>` — If using a seed phrase, which hierarchical deterministic path to use, e.g. `m/44'/148'/{hd_path}`. Example: `--hd-path 1`. Default: `0`
* `--global` — Use global config
* `--config-dir <CONFIG_DIR>` — Location of config directory, default is "."
* `--data-name <DATA_NAME>`Line to change, either 4 or 12 alphanumeric characters, or "native" if not specified
* `--data-name <DATA_NAME>`String up to 64 bytes long. If this is a new Name it will add the given name/value pair to the account. If this Name is already present then the associated value will be modified
* `--data-value <DATA_VALUE>` — Up to 64 bytes long hex string If not present then the existing Name will be deleted. If present then this value will be set in the `DataEntry`


Expand Down
4 changes: 3 additions & 1 deletion cmd/soroban-cli/src/commands/tx/new/manage_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ use crate::{commands::tx, xdr};
pub struct Cmd {
#[command(flatten)]
pub tx: tx::Args,
/// Line to change, either 4 or 12 alphanumeric characters, or "native" if not specified
/// String up to 64 bytes long.
/// If this is a new Name it will add the given name/value pair to the account.
/// If this Name is already present then the associated value will be modified.
#[arg(long)]
pub data_name: xdr::StringM<64>,
/// Up to 64 bytes long hex string
Expand Down