-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix: use payment-account-id param name consistently #7432
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
base: master
Are you sure you want to change the base?
fix: use payment-account-id param name consistently #7432
Conversation
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
WalkthroughThe changes update the command-line parameter name from Changes
Poem
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
apitest/scripts/trade-simulation-utils.sh (2)
186-186
: Correct rename of payment account parameter
The change to--payment-account-id=$ACCT_ID
ingencreateoffercommand
aligns with the PR objective to standardize the parameter name. Ensure$ACCT_ID
is always set before calling this function and consider quoting it as--payment-account-id="${ACCT_ID}"
to prevent potential word‐splitting issues. You may also opt to use a Bash array for safer command construction.
479-479
: Consistent parameter rename in takeoffer command
Updating thetakeoffer
invocation to use--payment-account-id=$BOB_ACCT_ID
is correct. For consistency and safety, quote variable expansions (e.g.,--payment-account-id=\"${BOB_ACCT_ID}\"
) and consider the array‐based construction pattern to avoid concatenation pitfalls.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (5)
apitest/scripts/limit-order-simulation.sh
(1 hunks)apitest/scripts/trade-simulation-utils.sh
(2 hunks)cli/src/main/java/bisq/cli/CliMain.java
(2 hunks)core/src/main/resources/help/createoffer-help.txt
(4 hunks)core/src/main/resources/help/takeoffer-help.txt
(4 hunks)
🔇 Additional comments (4)
core/src/main/resources/help/createoffer-help.txt (1)
15-15
: LGTM! Parameter name standardization implemented correctly.The documentation has been consistently updated to use
--payment-account-id
instead of--payment-account
across the synopsis, options section, and examples. This aligns perfectly with the PR objective to standardize parameter naming throughout the codebase.Also applies to: 62-62, 85-85, 98-98
apitest/scripts/limit-order-simulation.sh (1)
118-118
: LGTM! Test script updated to use standardized parameter name.The command construction correctly uses
--payment-account-id
instead of--payment-account
, ensuring test scripts are consistent with the updated CLI parameter naming.cli/src/main/java/bisq/cli/CliMain.java (1)
923-923
: LGTM! CLI help text updated for parameter name consistency.The help text format strings for both
createoffer
andtakeoffer
commands have been correctly updated to use--payment-account-id
instead of--payment-account
, ensuring consistency with the updated help documentation files.Also applies to: 953-953
core/src/main/resources/help/takeoffer-help.txt (1)
11-11
: LGTM! Parameter name standardization completed in takeoffer documentation.The documentation has been comprehensively updated to use
--payment-account-id
instead of--payment-account
across the synopsis, description, options section, and examples. The changes maintain accuracy and consistency throughout the help text.Also applies to: 28-28, 42-42, 69-69
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
makes usage of
payment-account-id
parameter name more consistentthe correct name is
payment-account-id
, but it was sometimes referred to aspayment-account
bisq/cli/src/main/java/bisq/cli/opts/OptLabel.java
Line 42 in ce2ffce
Summary by CodeRabbit
Documentation
--payment-account-id
instead of--payment-account
for relevant CLI commands.Chores
--payment-account-id
parameter name in CLI commands for offer creation and trading.