From e50d4b32593a5951bc6746f2b75fa71308cc09c2 Mon Sep 17 00:00:00 2001 From: Tim Sharpe Date: Sun, 3 Feb 2019 13:27:25 +1100 Subject: [PATCH] (rubocop) Fix Naming/HeredocDelimiterNaming --- lib/vmfloaty.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vmfloaty.rb b/lib/vmfloaty.rb index a2defb8..c2170a3 100644 --- a/lib/vmfloaty.rb +++ b/lib/vmfloaty.rb @@ -431,13 +431,13 @@ class Vmfloaty command :completion do |c| c.syntax = 'floaty completion [options]' 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: 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. - EOF + DESCRIPTION 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.action do |_, options|