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

[ioctl] correct Chinese usage message #3510

Merged
merged 8 commits into from
Jul 14, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
indent
huof6829 committed Jul 13, 2022

Verified

This commit was signed with the committer’s verified signature.
matthewnessworthy Matthew Nessworthy
commit 9cb9130d5a107ab492e3c273e02e6a2c6b546953
2 changes: 1 addition & 1 deletion ioctl/newcmd/config/config_reset.go
Original file line number Diff line number Diff line change
@@ -7,11 +7,11 @@
package config

import (
"github.com/iotexproject/iotex-core/ioctl/config"
"github.com/pkg/errors"
"github.com/spf13/cobra"

"github.com/iotexproject/iotex-core/ioctl"
"github.com/iotexproject/iotex-core/ioctl/config"
)

var (
2 changes: 1 addition & 1 deletion ioctl/newcmd/hdwallet/hdwalletexport.go
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ func NewHdwalletExportCmd(client ioctl.Client) *cobra.Command {
short, _ := client.SelectTranslation(_hdwalletExportCmdShorts)

return &cobra.Command{
Use: "export",
Use: "export",
Short: short,
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
2 changes: 1 addition & 1 deletion ioctl/newcmd/hdwallet/hdwalletimport.go
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ func NewHdwalletImportCmd(client ioctl.Client) *cobra.Command {
short, _ := client.SelectTranslation(_importCmdShorts)

return &cobra.Command{
Use: "import",
Use: "import",
Short: short,
Args: cobra.ExactArgs(0),
RunE: func(cmd *cobra.Command, args []string) error {
2 changes: 1 addition & 1 deletion ioctl/newcmd/node/node.go
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ var (
// NewNodeCmd represents the new node command.
func NewNodeCmd(client ioctl.Client) *cobra.Command {
nodeShorts, _ := client.SelectTranslation(_nodeCmdShorts)

nc := &cobra.Command{
Use: "node",
Short: nodeShorts,