aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/develop/hub_options.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-11-20 22:53:19 -0500
committerRalph Amissah <ralph@amissah.com>2014-12-08 00:18:16 -0500
commita37a13fbe35be7b9a340520d313ec8a8a576a41f (patch)
tree30cbcfc32c3f0c0484f2242a1e10caed765992dd /lib/sisu/develop/hub_options.rb
parentd: txt outputs, reorganize, introduce new files (diff)
d: orgmode, add orgmode structure output to txts
Diffstat (limited to 'lib/sisu/develop/hub_options.rb')
-rw-r--r--lib/sisu/develop/hub_options.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/sisu/develop/hub_options.rb b/lib/sisu/develop/hub_options.rb
index 3d46a84f..e7df01db 100644
--- a/lib/sisu/develop/hub_options.rb
+++ b/lib/sisu/develop/hub_options.rb
@@ -1150,6 +1150,10 @@ module SiSU_Commandline
=~/"--rst"|"--rest"|"--restructuredtext"/) \
? { bool: true, set: :on }
: { bool: false, set: :na }
+ act[:txt_orgmode]=(select_arr.inspect \
+ =~/"--org"|"--orgmode"/) \
+ ? { bool: true, set: :on }
+ : { bool: false, set: :na }
act[:manpage]=(select_arr.inspect \
=~/"--manpage"|"--man"/) \
? { bool: true, set: :on }
@@ -1407,6 +1411,7 @@ module SiSU_Commandline
|| act[:txt_asciidoc][:set]==:on \
|| act[:txt_markdown][:set]==:on \
|| act[:txt_rst][:set]==:on \
+ || act[:txt_orgmode][:set]==:on \
|| act[:xhtml][:set]==:on \
|| act[:epub][:set]==:on \
|| act[:html][:set]==:on \
@@ -1455,6 +1460,7 @@ module SiSU_Commandline
|| act[:txt_asciidoc][:set]==:on \
|| act[:txt_markdown][:set]==:on \
|| act[:txt_rst][:set]==:on \
+ || act[:txt_orgmode][:set]==:on \
|| act[:xhtml][:set]==:on \
|| act[:epub][:set]==:on \
|| act[:html][:set]==:on \