Skip to content

Commit

Permalink
fix(tx-manage-data): copy/paste error for help docs
Browse files Browse the repository at this point in the history
  • Loading branch information
willemneal authored and gitbutler-client committed Nov 29, 2024
1 parent 390c220 commit f17cca4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
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

0 comments on commit f17cca4

Please sign in to comment.