-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Phrasing, precisions and typos in CLI help #9060
Conversation
It looks like this contributor signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
Thanks for this, it will be a mess in combination with #9036 though :D |
we can wait and amend/merge it later |
Rephrase cli subcommand descriptions.
@5chdn looks like there is no conflict :D |
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.
lgtm with minor grumbles
parity/cli/mod.rs
Outdated
@@ -82,7 +82,7 @@ usage! { | |||
|
|||
CMD cmd_import | |||
{ | |||
"Import blockchain", | |||
"Import blockchain from a file to the given --chain database (default: foundation)", |
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.
dumb q: are we talking abouta blockchain spec here? With this wording it sounds a little like we're importing data into a db.
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.
it's indeed the data. Added it.
parity/cli/mod.rs
Outdated
@@ -99,7 +99,7 @@ usage! { | |||
|
|||
CMD cmd_export_blocks | |||
{ | |||
"Export blocks", | |||
"Export blocks into the given --chain database (default: foundation). This command requires the chain to be synced with --fat-db on.", |
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.
Should it be Export blocks **from** the given --chain database
?
Also "This command requires that the chain is synced with --fat-db"?
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.
- yup for the "from"
- I think
This command requires the chain to be synced with --fat-db on.
is correct
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.
works for me
parity/cli/mod.rs
Outdated
@@ -198,7 +198,7 @@ usage! { | |||
|
|||
CMD cmd_restore | |||
{ | |||
"Restore database from snapshot", | |||
"Restore database of the given --chain (default: foundation) from snapshot", |
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.
"Restore the database … …"
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.
fixed
parity/cli/mod.rs
Outdated
@@ -211,7 +211,7 @@ usage! { | |||
|
|||
CMD cmd_tools_hash | |||
{ | |||
"Hash a file", | |||
"Hash a file using Keccak-256 algorithm", |
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.
"…using the Keccak…"
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.
fixed
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.
Just a few comments, but lgtm.
} | ||
|
||
CMD cmd_account_import | ||
{ | ||
"Import account", | ||
"Import accounts from JSON UTC keystore files to the specified --chain (default mainnet)", |
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.
mainnet? foundation?
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.
mainnet everywhere now.
parity/cli/mod.rs
Outdated
@@ -157,11 +157,11 @@ usage! { | |||
"Manage signer", | |||
|
|||
CMD cmd_signer_new_token { | |||
"Generate new token", | |||
"Generate new token for the given --chain (default: foundation)", |
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.
Generate a new signer-authentication token...
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.
fixed
parity/cli/mod.rs
Outdated
} | ||
|
||
CMD cmd_signer_list { | ||
"List", | ||
"List the tokens from given --chain (default: foundation)", |
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.
signer-authentication tokens?
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.
fixed
No description provided.