optparse-simple 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/optparse-simple.rb +1 -1
  2. metadata +1 -1
@@ -73,7 +73,7 @@ class OptParseSimple
73
73
  end
74
74
 
75
75
  def help
76
- a = XPath.match(@doc.root, 'records/option/summary').map do |summary|
76
+ a = XPath.match(@doc.root, "records/option/summary[switch != '']").map do |summary|
77
77
  %w(switch alias).map {|x| summary.text x}
78
78
  end
79
79
  puts 'options:'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optparse-simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors: []
7
7