From 0e8eeb9f13c4cfbae0ebdd995c75c5c29ab89806 Mon Sep 17 00:00:00 2001 From: Andrei Popescu Date: Mon, 27 Jul 2020 12:32:30 +0300 Subject: [PATCH] userdeployerwhitelist/cmd.go: Grammar userdeployerwhitelist/cmd.go: Grammar --- cmd/loom/userdeployerwhitelist/cmd.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cmd/loom/userdeployerwhitelist/cmd.go b/cmd/loom/userdeployerwhitelist/cmd.go index 46a9a4c39a..24d3ff1262 100644 --- a/cmd/loom/userdeployerwhitelist/cmd.go +++ b/cmd/loom/userdeployerwhitelist/cmd.go @@ -27,7 +27,7 @@ type UserdeployerInfo struct { func NewUserDeployCommand() *cobra.Command { cmd := &cobra.Command{ Use: "dev ", - Short: "User Deployer Whitelist CLI", + Short: "User deployer whitelist CLI", } cmd.AddCommand( addUserDeployerCmd(), @@ -42,7 +42,7 @@ func NewUserDeployCommand() *cobra.Command { } const addUserDeployerCmdExample = ` -loom dev add-deployer 0x7262d4c97c7B93937E4810D289b7320e9dA82857 --tier 0 +loom dev add-deployer 0x7262d4c97c7B93937E4810D289b7320e9dA82857 --tier 0 ` func addUserDeployerCmd() *cobra.Command { @@ -106,7 +106,7 @@ func swapUserDeployerCmd() *cobra.Command { cmd := &cobra.Command{ Use: "swap-deployer ", // nolint:lll - Short: "Swap an account from the list of accounts authorized to deploy contracts on behalf of a user to new account (the caller)", + Short: "Swap an account from the list of accounts authorized to deploy contracts on behalf of a user with a new account (the caller)", Example: swapUserDeployerCmdExample, Args: cobra.MinimumNArgs(2), RunE: func(cmd *cobra.Command, args []string) error { @@ -130,7 +130,7 @@ func swapUserDeployerCmd() *cobra.Command { } const getUserDeployersCmdExample = ` -loom dev list-deployers 0x7262d4c97c7B93937E4810D289b7320e9dA82856 +loom dev list-deployers 0x7262d4c97c7B93937E4810D289b7320e9dA82856 ` func getUserDeployersCmd() *cobra.Command { @@ -249,7 +249,7 @@ func getTierInfoCmd() *cobra.Command { } const setTierCmdExample = ` -loom dev set-tier 0 --fee 100 --name Tier1 --block-range 10 --max-txs 2 +loom dev set-tier 0 --fee 100 --name Tier1 --block-range 10 --max-txs 2 ` func setTierInfoCmd() *cobra.Command { @@ -270,7 +270,7 @@ func setTierInfoCmd() *cobra.Command { rpcClient := getDAppChainClient(&flags) udwAddress, err := rpcClient.Resolve("user-deployer-whitelist") if err != nil { - return errors.Wrap(err, "failed to resolve user-deployer-whitelist address") + return errors.Wrap(err, "failed to resolve the address of the user-deployer-whitelist contract") } udwContract := client.NewContract(rpcClient, udwAddress.Local) getTierInfoReq := &udwtypes.GetTierInfoRequest{