By default show the format option when importing an account.
This change will make it easier to import accounts generated as part of genesis creation.
Normally this flag is not used by users since they get their account by going through an idp via one of the wallets.
However there will soon be a tool available for running a local chain with a custom genesis.
In this scenario it's desirable to make it easy for users to import their generated accounts into the client so the client
is easy to use with their new custom chain.
Note also that the default value mobile is the same as before, so the user does not have to explicitly provide this flag if importing a mobile backup.
Changes
Remove the SHOW_ALL_OPTS env variable and by default show all possible options at all times.
Checklist
[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.
Purpose
Address https://github.com/Concordium/concordium-client/issues/253
By default show the
format
option when importing an account.This change will make it easier to import accounts generated as part of genesis creation. Normally this flag is not used by users since they get their account by going through an idp via one of the wallets.
However there will soon be a tool available for running a local chain with a custom genesis. In this scenario it's desirable to make it easy for users to import their generated accounts into the client so the client is easy to use with their new custom chain.
Note also that the default value
mobile
is the same as before, so the user does not have to explicitly provide this flag if importing a mobile backup.Changes
Remove the
SHOW_ALL_OPTS
env variable and by default show all possible options at all times.Checklist