Skip to content
This repository has been archived by the owner on Jun 2, 2018. It is now read-only.

Rudimentary help text for commands #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion command/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,6 @@ func (s *ExecCommand) Run(args []string) int {
return 0
}

func (s *ExecCommand) Help() string { return "" }
func (s *ExecCommand) Help() string { return "context exec -g [GROUP_NAME] command Overwrite values in the current environment with values from the group environment for the execution of a single specified command." }

func (s *ExecCommand) Synopsis() string { return "" }
2 changes: 1 addition & 1 deletion command/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ func (s *KeyCommand) Run(args []string) int {
return 0
}

func (s *KeyCommand) Help() string { return "" }
func (s *KeyCommand) Help() string { return "Resets the etcd encryption key. Don't run this unless you're really sure you want to as it will break all existing values that have been set." }

func (s *KeyCommand) Synopsis() string { return "" }
2 changes: 1 addition & 1 deletion command/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ func (s *SetCommand) Run(args []string) int {
return 0
}

func (s *SetCommand) Help() string { return "" }
func (s *SetCommand) Help() string { return "Set a list of space separated [...VAR_NAMES...]. context will prompt for the value of each." }

func (s *SetCommand) Synopsis() string { return "" }