Skip to content
Myr

Fix grammar: 'allows to' (#1978)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

The use in generated bash completion files is getting flagged by Lintian (the Debian package linting tool).

authored by Taavi Väänänen · committed by GitHub · parent 0e3a0bf · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Signed-off-by: Taavi Väänänen <hi@taavi.wtf>

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:bash_completions.go+1 added-1 removed
83 unmodified lines
8485 local out requestComp lastParam lastChar comp directive args8687 # Prepare the command to request completions for the program.88 # Calling ${words[0]} instead of directly %[1]s allows to handle aliases88 # Calling ${words[0]} instead of directly %[1]s allows handling aliases89 args=("${words[@]:1}")90 # Disable ActiveHelp which is not supported for bash completion v191 requestComp="%[8]s=0 ${words[0]} %[2]s ${args[*]}"92
620 unmodified lines
modified:bash_completionsV2.go+1 added-1 removed
55 unmodified lines
56__%[1]s_get_completion_results() {57 local requestComp lastParam lastChar args5859 # Prepare the command to request completions for the program.60 # Calling ${words[0]} instead of directly %[1]s allows to handle aliases60 # Calling ${words[0]} instead of directly %[1]s allows handling aliases61 args=("${words[@]:1}")62 requestComp="${words[0]} %[2]s ${args[*]}"6364 lastParam=${words[$((${#words[@]}-1))]}
332 unmodified lines
modified:cobra.go+1 added-1 removed
46 unmodified lines
47 defaultCommandSorting = true48 defaultCaseInsensitive = false49)5051// EnablePrefixMatching allows to set automatic prefix matching. Automatic prefix matching can be a dangerous thing51// EnablePrefixMatching allows setting automatic prefix matching. Automatic prefix matching can be a dangerous thing52// to automatically enable in CLI tools.53// Set this to true to enable it.54var EnablePrefixMatching = defaultPrefixMatching55
184 unmodified lines