Fix indentation in the here document

This commit is contained in:
kojix2 2021-01-19 14:56:28 +09:00
parent dbbff1dc3a
commit 68101d31cb

View File

@ -105,32 +105,32 @@ module YouPlot
@main_parser ||= create_default_parser do |main_parser| @main_parser ||= create_default_parser do |main_parser|
# Here, help message is stored in the banner. # Here, help message is stored in the banner.
# Because help of main_parser may be referred by `sub_parser`. # Because help of main_parser may be referred by `sub_parser`.
main_parser.banner = \ main_parser.banner = \
<<~MSG <<~MSG
Program: YouPlot (Tools for plotting on the terminal) Program: YouPlot (Tools for plotting on the terminal)
Version: #{YouPlot::VERSION} (using UnicodePlot #{UnicodePlot::VERSION}) Version: #{YouPlot::VERSION} (using UnicodePlot #{UnicodePlot::VERSION})
Source: https://github.com/kojix2/youplot Source: https://github.com/kojix2/youplot
Usage: uplot <command> [options] <in.tsv> Usage: uplot <command> [options] <in.tsv>
Commands: Commands:
barplot bar draw a horizontal barplot barplot bar draw a horizontal barplot
histogram hist draw a horizontal histogram histogram hist draw a horizontal histogram
lineplot line draw a line chart lineplot line draw a line chart
lineplots lines draw a line chart with multiple series lineplots lines draw a line chart with multiple series
scatter s draw a scatter plot scatter s draw a scatter plot
density d draw a density plot density d draw a density plot
boxplot box draw a horizontal boxplot boxplot box draw a horizontal boxplot
colors color show the list of available colors colors color show the list of available colors
count c draw a baplot based on the number of count c draw a baplot based on the number of
occurrences (slow) occurrences (slow)
General options: General options:
--help print command specific help menu --help print command specific help menu
--version print the version of YouPlot --version print the version of YouPlot
MSG MSG
# Actually, main_parser can take common optional arguments. # Actually, main_parser can take common optional arguments.