aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/options.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-12-28 12:31:04 -0500
committerRalph Amissah <ralph@amissah.com>2012-12-28 12:31:04 -0500
commite791dbbdd0097b6bba0829000408ab30d0810fbe (patch)
treebb5a341e757b38f9335ce2c8aa2884e28facdb39 /lib/sisu/v3/options.rb
parentv4: sisu: --color flag, which toggles color on/off (Closes: #622171) (diff)
v4 v3: largely cosmetic
Diffstat (limited to 'lib/sisu/v3/options.rb')
-rw-r--r--lib/sisu/v3/options.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v3/options.rb b/lib/sisu/v3/options.rb
index 39c392a9..344a0b55 100644
--- a/lib/sisu/v3/options.rb
+++ b/lib/sisu/v3/options.rb
@@ -845,6 +845,9 @@ module SiSU_Commandline
def fns
@fns
end
+ def fnl
+ x=@fns.gsub(/(\S+?)((?:\.ssm)?\.sst)/,"\\1.#{lng}\\2")
+ end
def what
@what
end
@@ -868,9 +871,6 @@ module SiSU_Commandline
end
end
__END__
-note usually named @opt
-is carried in Param usually as @md
-@opt is a subset of @md
-where @md is passed, contents of @opt are available
-passing @opt as well is duplication
-check for fns & fnb
+note usually named @opt is carried in Param usually as @md @opt is a subset of
+@md where @md is passed, contents of @opt are available as @md.opt passing @opt
+as well is duplication check for fns & fnb