diff options
author | Wenbiao Zheng <delweng@gmail.com> | 2018-08-27 16:49:29 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-08-27 16:49:29 +0800 |
commit | d1aa605f1e8639769cdd75bcec3064c29a62b34a (patch) | |
tree | 84d7aba82d7365ca736afa52b66ef100d117afca /console/prompter.go | |
parent | 70398d300d4da97c89f96f5c9629caa327de5c39 (diff) | |
download | dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.gz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.bz2 dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.lz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.xz dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.tar.zst dexon-d1aa605f1e8639769cdd75bcec3064c29a62b34a.zip |
all: remove the duplicate 'the' in annotations (#17509)
Diffstat (limited to 'console/prompter.go')
-rw-r--r-- | console/prompter.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/console/prompter.go b/console/prompter.go index 9b90034db..29a53aead 100644 --- a/console/prompter.go +++ b/console/prompter.go @@ -43,7 +43,7 @@ type UserPrompter interface { // choice to be made, returning that choice. PromptConfirm(prompt string) (bool, error) - // SetHistory sets the the input scrollback history that the prompter will allow + // SetHistory sets the input scrollback history that the prompter will allow // the user to scroll back to. SetHistory(history []string) @@ -149,7 +149,7 @@ func (p *terminalPrompter) PromptConfirm(prompt string) (bool, error) { return false, err } -// SetHistory sets the the input scrollback history that the prompter will allow +// SetHistory sets the input scrollback history that the prompter will allow // the user to scroll back to. func (p *terminalPrompter) SetHistory(history []string) { p.State.ReadHistory(strings.NewReader(strings.Join(history, "\n"))) |