Skip to content

Commit

Permalink
Fixed some formatting on the Usage helper docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanQuatermain committed Feb 16, 2010
1 parent ad27dbf commit 01dc0d1
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions Test/ParserComparison/MakeXMLFile.rb
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
#!/usr/bin/ruby

require "rexml/document"
require "rexml/formatters/transitive"
require "rdoc/usage"

# == Usage
#
# Create an XML file containing a whole bunch of deeply-nested tags containing sequential integers.
#
# The idea is that the parser can pull out the integers into an NSIndexSet, so the parsed
# data consumes the smallest amount of memory possible, so the memory usage will refer mostly
# to the actual data allocated/used by the parser itself.
# data consumes the smallest amount of memory possible, so the memory usage will refer mostly
# to the actual data allocated/used by the parser itself.
#
# set_channel_names [OPTIONS]
#
# -h, --help:
# -h, --help::
# Show this message
# -c, --count:
# Number of consecutive values to embed (1 to X)
# -c, --count::
# Number of consecutive values to embed (1 to X).
# Default is 20'000
# -f, --file:
# -f, --file::
# Name of output file (required)

require "rexml/document"
require "rexml/formatters/transitive"
require "rdoc/usage"

opts = GetoptLong.new(
['--help', '-h', GetoptLong::NO_ARGUMENT],
['--count', '-c', GetoptLong::REQUIRED_ARGUMENT],
Expand Down

0 comments on commit 01dc0d1

Please sign in to comment.