mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
(rubocop) Fix Naming/HeredocDelimiterNaming
This commit is contained in:
parent
e1379a8b9c
commit
e50d4b3259
1 changed files with 2 additions and 2 deletions
|
|
@ -431,13 +431,13 @@ class Vmfloaty
|
||||||
command :completion do |c|
|
command :completion do |c|
|
||||||
c.syntax = 'floaty completion [options]'
|
c.syntax = 'floaty completion [options]'
|
||||||
c.summary = 'Outputs path to completion script'
|
c.summary = 'Outputs path to completion script'
|
||||||
c.description = Utils.strip_heredoc(<<-EOF)
|
c.description = Utils.strip_heredoc(<<-DESCRIPTION)
|
||||||
Outputs path to a completion script for the specified shell (or 'bash' if not specified). This makes it easy to add the completion script to your profile:
|
Outputs path to a completion script for the specified shell (or 'bash' if not specified). This makes it easy to add the completion script to your profile:
|
||||||
|
|
||||||
source $(floaty completion --shell bash)
|
source $(floaty completion --shell bash)
|
||||||
|
|
||||||
This subcommand will exit non-zero with an error message if no completion script is available for the requested shell.
|
This subcommand will exit non-zero with an error message if no completion script is available for the requested shell.
|
||||||
EOF
|
DESCRIPTION
|
||||||
c.example 'Gets path to bash tab completion script', 'floaty completion --shell bash'
|
c.example 'Gets path to bash tab completion script', 'floaty completion --shell bash'
|
||||||
c.option '--shell STRING', String, 'Shell to request completion script for'
|
c.option '--shell STRING', String, 'Shell to request completion script for'
|
||||||
c.action do |_, options|
|
c.action do |_, options|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue