diff options
-rw-r--r-- | lib/sisu/v2/hub.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/sisu/v2/hub.rb b/lib/sisu/v2/hub.rb index db167571..68ff6fcb 100644 --- a/lib/sisu/v2/hub.rb +++ b/lib/sisu/v2/hub.rb @@ -179,8 +179,8 @@ module SiSU end end end - elsif @req =~/^dbi$/; SiSU_DBI::SiSU_SQL.new(@opt).connect # -D -d - elsif @req=~/^sisupod_make$/; SiSU_Doc::Source.new(@opt).read # -S + elsif @req =~/^dbi$/; SiSU_DBI::SiSU_SQL.new(@opt).connect # -D -d + elsif @req=~/^sisupod_make$/; SiSU_Doc::Source.new(@opt).read # -S end Operations.new.counter end @@ -194,40 +194,40 @@ module SiSU def counter @@n_do=0 end - def remote_put_base_site_rsync # -CR + def remote_put_base_site_rsync # -CR p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ require "#{SiSU_lib}/remote" # remote.rb SiSU_Remote::Put.new(@opt).rsync_base end - def remote_put_base_site_rsync_match # -CCRZ + def remote_put_base_site_rsync_match # -CCRZ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ require "#{SiSU_lib}/remote" # remote.rb SiSU_Remote::Put.new(@opt).rsync_base_sync end - def remote_put_base_site # -Cr + def remote_put_base_site # -Cr p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ require "#{SiSU_lib}/remote" # remote.rb SiSU_Remote::Put.new(@opt).scp_base end - def remote_put_base_site_all # -CCr + def remote_put_base_site_all # -CCr p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ require "#{SiSU_lib}/remote" # remote.rb SiSU_Remote::Put.new(@opt).scp_base_all end - def cgi # -F + def cgi # -F require "#{SiSU_lib}/cgi" # cgi.rb SiSU_CGI::SiSU_search.new(@opt).read end - def encoding # -K build character encoding db (uses KirbyBase) + def encoding # -K build character encoding db (uses KirbyBase) require "#{SiSU_lib}/character_encoding" # character_encoding.rb SiSU_character_encode::Create.new.db end - def termsheet # -t + def termsheet # -t system("sisu_termsheet #{@opt.cmd} #{@opt.fns}\n") @@n_do=@@n_do+1 SiSU_Screen::Ansi.new(@opt.cmd,@@n_do,'Termsheet(s) processed').term_sheet_title unless @opt.cmd =~/q/ end - def webrick # -W + def webrick # -W port=prt=@fns prt=if prt !~/\d+/ 'webrick default (sysenv)' @@ -292,7 +292,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ flag=SiSU_Env::Info_processing_flag.new extra='' if @opt.cmd !~/[mn]/ - extra+=if @opt.cmd =~/[abehHhIiJjNOoptTwXxz]/ \ + extra+=if @opt.cmd =~/[abeghHhIiJjNOoptTwXxz]/ \ and @opt.cmd !~/[mn]/ 'm' #% add dal elsif ((@opt.cmd =~/[Dd]/ \ |