Skip to content

Commit

Permalink
cleanup docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi committed Feb 9, 2024
1 parent 619efbd commit f300f1b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/disable/disable.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var Command = &cobra.Command{
Use: "disable",
Use: "disable KEY",
Short: "Disable (comment) a KEY if it exists",
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) == 0 {
Expand Down
2 changes: 1 addition & 1 deletion cmd/enable/enable.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var Command = &cobra.Command{
Use: "enable",
Use: "enable KEY",
Short: "Enable (uncomment) a KEY if it exists",
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) == 0 {
Expand Down
2 changes: 1 addition & 1 deletion cmd/set/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

func Command() *cobra.Command {
cmd := &cobra.Command{
Use: "set",
Use: "set KEY=VALUE [KEY=VALUE ...]",
Short: "Set/update one or multiple key=value pairs",
RunE: func(cmd *cobra.Command, args []string) error {
env, _, err := shared.Setup(cmd.Flags())
Expand Down
2 changes: 1 addition & 1 deletion cmd/value/value.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
)

var Command = &cobra.Command{
Use: "value",
Use: "value KEY",
Short: "Print value of a env key if it exists",
RunE: func(cmd *cobra.Command, args []string) error {
if len(args) == 0 {
Expand Down

0 comments on commit f300f1b

Please sign in to comment.