diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-05-01 01:44:04 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-05-01 01:44:04 -0400 |
commit | d9763aebaf71cf9629fdcf3c0e8818a1edb2b528 (patch) | |
tree | d18f7b2784887095d96d36038d1c95402d507b78 /lib/sisu/v2/epub_segments.rb | |
parent | param_identify_markup, identify version 2 markup (diff) |
reduce screen output unless some verbose flag (such as -v) is used
Diffstat (limited to 'lib/sisu/v2/epub_segments.rb')
-rw-r--r-- | lib/sisu/v2/epub_segments.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sisu/v2/epub_segments.rb b/lib/sisu/v2/epub_segments.rb index 5f0b74d3..aa25b82a 100644 --- a/lib/sisu/v2/epub_segments.rb +++ b/lib/sisu/v2/epub_segments.rb @@ -178,8 +178,9 @@ WOK @@seg_name_xhtml=@@seg_name @@seg_total=@@seg_name.length testforartnum=@@seg_name_xhtml - tell=SiSU_Screen::Ansi.new(@md.cmd,@@seg_name.length) - tell.segmented unless @md.cmd =~/q/ + unless @md.cmd =~/q/ + SiSU_Screen::Ansi.new(@md.cmd,@@seg_name.length) if @md.cmd =~/[MVv]/ + end map_nametags=SiSU_Particulars::Combined_singleton.instance.get_map_nametags(@md).nametags_map #p map_nametags data.each do |dob| if defined? dob.obj \ |