From 68101d31cb21a5194d3702a5091672fe505acbf2 Mon Sep 17 00:00:00 2001 From: kojix2 <2xijok@gmail.com> Date: Tue, 19 Jan 2021 14:56:28 +0900 Subject: [PATCH] Fix indentation in the here document --- lib/youplot/command/parser.rb | 40 +++++++++++++++++------------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/lib/youplot/command/parser.rb b/lib/youplot/command/parser.rb index c4dafa5..86a93ae 100644 --- a/lib/youplot/command/parser.rb +++ b/lib/youplot/command/parser.rb @@ -105,32 +105,32 @@ module YouPlot @main_parser ||= create_default_parser do |main_parser| # Here, help message is stored in the banner. # Because help of main_parser may be referred by `sub_parser`. - + main_parser.banner = \ <<~MSG - + Program: YouPlot (Tools for plotting on the terminal) - Version: #{YouPlot::VERSION} (using UnicodePlot #{UnicodePlot::VERSION}) - Source: https://github.com/kojix2/youplot + Version: #{YouPlot::VERSION} (using UnicodePlot #{UnicodePlot::VERSION}) + Source: https://github.com/kojix2/youplot - Usage: uplot [options] + Usage: uplot [options] - Commands: - barplot bar draw a horizontal barplot - histogram hist draw a horizontal histogram - lineplot line draw a line chart - lineplots lines draw a line chart with multiple series - scatter s draw a scatter plot - density d draw a density plot - boxplot box draw a horizontal boxplot - colors color show the list of available colors + Commands: + barplot bar draw a horizontal barplot + histogram hist draw a horizontal histogram + lineplot line draw a line chart + lineplots lines draw a line chart with multiple series + scatter s draw a scatter plot + density d draw a density plot + boxplot box draw a horizontal boxplot + colors color show the list of available colors - count c draw a baplot based on the number of - occurrences (slow) - - General options: - --help print command specific help menu - --version print the version of YouPlot + count c draw a baplot based on the number of + occurrences (slow) + + General options: + --help print command specific help menu + --version print the version of YouPlot MSG # Actually, main_parser can take common optional arguments.