optparse-simple 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/optparse-simple.rb +1 -1
- metadata +1 -1
data/lib/optparse-simple.rb
CHANGED
@@ -73,7 +73,7 @@ class OptParseSimple
|
|
73
73
|
end
|
74
74
|
|
75
75
|
def help
|
76
|
-
a = XPath.match(@doc.root,
|
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:'
|