aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/sst_identify_markup.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/sst_identify_markup.rb')
-rw-r--r--lib/sisu/v5/sst_identify_markup.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sisu/v5/sst_identify_markup.rb b/lib/sisu/v5/sst_identify_markup.rb
index 236ca593..70070ebb 100644
--- a/lib/sisu/v5/sst_identify_markup.rb
+++ b/lib/sisu/v5/sst_identify_markup.rb
@@ -436,8 +436,8 @@ WOK
WOK
end
def query
- tell=if @opt.mod.inspect =~/--query/
- tell=case @opt.mod.inspect
+ tell=if @opt.selections.str =~/--query/
+ tell=case @opt.selections.str
when /history/
"#{sisu_3_0}#{sisu_2_0}#{sisu_1_0}#{sisu_0_69}#{sisu_0_66}#{sisu_0_57}#{sisu_0_42}#{sisu_0_38}\n#{sisu_0_37}\n#{sisu_0_16}\n#{sisu_0_1}"
when /3.0/
@@ -464,7 +464,7 @@ WOK
"#{sisu_0_16}\n#{sisu_0_1}"
when /0.[1-9]|0.1[1-4]/
sisu_0_1
- else puts "NOT RECOGNISED: #{@opt.mod.inspect}"
+ else puts "NOT RECOGNISED: #{@opt.selections.str}"
help_query
end
tell