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

Change metavar from STRING to WALLET_NAME #2559

Merged
merged 1 commit into from
Mar 12, 2021
Merged

Conversation

Anviking
Copy link
Member

@Anviking Anviking commented Mar 11, 2021

Issue Number

Overview

  • Change metavar from STRING to WALLET_NAME, to make the help text more understandable
  • Can we add help text?
  • I guess some test need to be updated too

Comments

@Anviking Anviking self-assigned this Mar 11, 2021
@Anviking Anviking force-pushed the anviking/tweak-meta-var branch from 675daf4 to 163b4c5 Compare March 11, 2021 14:49
@Anviking
Copy link
Member Author

bors try

iohk-bors bot added a commit that referenced this pull request Mar 11, 2021
@Anviking Anviking requested a review from KtorZ March 11, 2021 14:50
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Mar 11, 2021

try

Build failed:

@Anviking Anviking force-pushed the anviking/tweak-meta-var branch from 163b4c5 to c5d0d97 Compare March 11, 2021 15:38
@@ -1421,7 +1421,8 @@ transactionIdArgument = argumentT $ mempty
-- | <name=STRING>
walletNameArgument :: Parser WalletName
walletNameArgument = argumentT $ mempty
<> metavar "STRING"
<> metavar "WALLET_NAME"
<> help "The name of the new wallet."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"new" implies a certain context which may not fit the use-case (although we use it only for creating wallet I think).
I'd simply stick to "Name of the wallet" for description.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried making it sound more like "here you get to choose the local name of the wallet", rather than "something that must match some existing value" — but fine, let's go for "Name of the wallet"

- Change metavar to from STRING to WALLET_NAME
- Add help text
@Anviking Anviking force-pushed the anviking/tweak-meta-var branch from c5d0d97 to 5385720 Compare March 12, 2021 08:46
@Anviking
Copy link
Member Author

bors r+

@iohk-bors
Copy link
Contributor

iohk-bors bot commented Mar 12, 2021

Build succeeded:

@iohk-bors iohk-bors bot merged commit 45f2972 into master Mar 12, 2021
@iohk-bors iohk-bors bot deleted the anviking/tweak-meta-var branch March 12, 2021 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants