Skip to content

Commit

Permalink
chore(confix): update <simd> config subcommand description (cosmos#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Halimao authored and relyt29 committed Jan 22, 2024
1 parent b5039e0 commit 382456e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/confix/cmd/home.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
func HomeCommand() *cobra.Command {
return &cobra.Command{
Use: "home",
Short: "Outputs the folder used as the binary home. No home directory is set when using the tool standalone.",
Short: "Outputs the folder used as the binary home. No home directory is set when using the `confix` tool standalone.",
Long: `Outputs the folder used as the binary home. In order to change the home directory path, set the $APPD_HOME environment variable, or use the "--home" flag.`,
Args: cobra.NoArgs,
Run: func(cmd *cobra.Command, args []string) {
Expand Down
4 changes: 2 additions & 2 deletions tools/confix/cmd/mutate.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func SetCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "set [config] [key] [value]",
Short: "Set an application config value",
Long: "Set an application config value. The [config] argument must be the path of the file when using the tool standalone, otherwise it must be the name of the config file without the .toml extension.",
Long: "Set an application config value. The [config] argument must be the path of the file when using the `confix` tool standalone, otherwise it must be the name of the config file without the .toml extension.",
Args: cobra.ExactArgs(3),
RunE: func(cmd *cobra.Command, args []string) error {
filename, inputValue := args[0], args[2]
Expand Down Expand Up @@ -89,7 +89,7 @@ func GetCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "get [config] [key]",
Short: "Get an application config value",
Long: "Get an application config value. The [config] argument must be the path of the file when using the too standalone, otherwise it must be the name of the config file without the .toml extension.",
Long: "Get an application config value. The [config] argument must be the path of the file when using the `confix` tool standalone, otherwise it must be the name of the config file without the .toml extension.",
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
filename, key := args[0], args[1]
Expand Down
1 change: 1 addition & 0 deletions tools/confix/cmd/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func ViewCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "view [config]",
Short: "View the config file",
Long: "View the config file. The [config] argument must be the path of the file when using the `confix` tool standalone, otherwise it must be the name of the config file without the .toml extension.",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
filename := args[0]
Expand Down

0 comments on commit 382456e

Please sign in to comment.