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

deployerwhitelist/cmd.go: Grammar #1678

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/loom/deployerwhitelist/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func addDeployerCmd() *cobra.Command {
var flags cli.ContractCallFlags
cmd := &cobra.Command{
Use: "add <deployer address> <permission (go|evm|migration|all)>",
Short: "Add deployer with permision to deployer list",
Short: "Add a deployer with permission to the deployer list",
Example: addDeployerCmdExample,
Args: cobra.MinimumNArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
Expand All @@ -65,7 +65,7 @@ func addDeployerCmd() *cobra.Command {
uint32(dw.AllowMigrationFlag),
)
} else {
return fmt.Errorf("Please specify deploy permission (go|evm|any)")
return fmt.Errorf("Please specify permissions (go|evm|any) for the new deployer")
}

cmd.SilenceUsage = true
Expand Down Expand Up @@ -120,7 +120,7 @@ func getDeployerCmd() *cobra.Command {
var flags cli.ContractCallFlags
cmd := &cobra.Command{
Use: "get <deployer address>",
Short: "Show current permissions of a deployer",
Short: "Show current permissions for a deployer",
Example: getDeployerCmdExample,
RunE: func(cmd *cobra.Command, args []string) error {
addr, err := cli.ResolveAccountAddress(args[0], &flags)
Expand Down