diff --git a/cmd/generate/config/config.go b/cmd/generate/config/config.go index 99e9825..e5e3e19 100644 --- a/cmd/generate/config/config.go +++ b/cmd/generate/config/config.go @@ -28,7 +28,7 @@ type Options struct { ttyDisabled bool } -const configLongDesc string = `Generates a ~/.sauced.yaml configuration file. The attribution of emails to given entities +const configLongDesc string = `Generates a ".sauced.yaml" configuration file. The attribution of emails to given entities is based on the repository this command is ran in.` func NewConfigCommand() *cobra.Command { @@ -36,7 +36,7 @@ func NewConfigCommand() *cobra.Command { cmd := &cobra.Command{ Use: "config path/to/repo [flags]", - Short: "Generates a \"~/.sauced.yaml\" config based on the current repository", + Short: "Generates a \".sauced.yaml\" config based on the current repository", Long: configLongDesc, Args: func(_ *cobra.Command, args []string) error { if len(args) != 1 { diff --git a/cmd/generate/config/spec.go b/cmd/generate/config/spec.go index b8732ba..4b24c8d 100644 --- a/cmd/generate/config/spec.go +++ b/cmd/generate/config/spec.go @@ -29,8 +29,8 @@ type keymap struct{} func (k keymap) ShortHelp() []key.Binding { return []key.Binding{ - key.NewBinding(key.WithKeys("ctrl+n"), key.WithHelp("ctrl+n", "next")), - key.NewBinding(key.WithKeys("ctrl+p"), key.WithHelp("ctrl+p", "prev")), + key.NewBinding(key.WithKeys("ctrl+n"), key.WithHelp("ctrl+n", "next suggestion")), + key.NewBinding(key.WithKeys("ctrl+p"), key.WithHelp("ctrl+p", "prev suggestion")), key.NewBinding(key.WithKeys("ctrl+i"), key.WithHelp("ctrl+i", "ignore email")), key.NewBinding(key.WithKeys("esc"), key.WithHelp("esc", "quit")), key.NewBinding(key.WithKeys("enter"), key.WithHelp("enter", "submit")), @@ -43,7 +43,7 @@ func (k keymap) FullHelp() [][]key.Binding { func initialModel(opts *Options, uniqueEmails []string) model { ti := textinput.New() - ti.Placeholder = "name" + ti.Placeholder = "username" ti.Focus() ti.ShowSuggestions = true