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
[Bug] duplicated short options, -r
, in make_offer
CLI causing missing option error.
#14874
Comments
The work around is to use |
yyolk
added a commit
to yyolk/chia-blockchain
that referenced
this issue
May 3, 2023
I opted to change the short option for `--request` to `-R` and for consistency give `-O` as the short option for `--offer` - `-r, --reuse` is option for more than one command, so I thought it would make more sense to give lowercase `-r` to `reuse` so I opted to go with `-R` for the short option - `-o` is also used as the short option for `--offset` and `--override`, although it doesn't have any conflicts for `make_offer` it made sense to change it to be consistent with the short option that is often used in tandem https://github.com/Chia-Network/chia-docs/blob/main/docs/guides/tutorials/offers-cli.md should be updated if this is merged
yyolk
added a commit
to yyolk/chia-blockchain
that referenced
this issue
May 4, 2023
with feedback from Chia-Network#15182 - drop short option, `-r`, everywhere where `--reuse` is an option to `chia wallet` commands
yyolk
added a commit
to yyolk/chia-docs
that referenced
this issue
May 4, 2023
drop `-r`, reflecting Chia-Network/chia-blockchain#15182 change to bug Chia-Network/chia-blockchain#14874 with conflicting options on `reuse` and `request` for `make_offer_cmd`, making it consistent across all wallet commands wherever `reuse` is used
wallentx
pushed a commit
that referenced
this issue
May 5, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
-r
is already used for--request
but it's now also used for--reuse
,Reuse existing address for the change.
, and this causesmake_offer
error,Error: Missing option '-r' / '--request'.
chia-blockchain/chia/cmds/wallet.py
Lines 411 to 425 in 9a4b42b
Version
1.7.1-rc3
What platform are you using?
macOS
What ui mode are you using?
CLI
Relevant log output
The text was updated successfully, but these errors were encountered: