Skip to content

Commit

Permalink
Enhance usage banner in command line options for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Jan 31, 2025
1 parent 6ced744 commit be47bd4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/railroad_diagrams/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ def initialize

def run(argv)
OptionParser.new do |opts|
opts.banner = 'Usage: railroad_diagrams [options] [files]'
opts.banner = <<~BANNER
This is a test runner for railroad_diagrams:
Usage: railroad_diagrams [options] [files]
BANNER

opts.on('-f', '--format FORMAT', 'Output format (svg, ascii, unicode, standalone)') do |format|
@format = format
Expand Down

0 comments on commit be47bd4

Please sign in to comment.