From 6532732de738924cf77cd0e94c714de8939f8edf Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 9 Feb 2016 14:32:51 -0500 Subject: headers, year set 2016 --- lib/sisu/hub_options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sisu/hub_options.rb') diff --git a/lib/sisu/hub_options.rb b/lib/sisu/hub_options.rb index fbd70545..c967c6ff 100644 --- a/lib/sisu/hub_options.rb +++ b/lib/sisu/hub_options.rb @@ -13,7 +13,7 @@ ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Ralph Amissah, + 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah, All Rights Reserved. ** License: GPL 3 or later: -- cgit v1.2.3 From feffc6a1df005873a2d8bafcacce5e025a156971 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 12 Feb 2016 11:08:00 -0500 Subject: header hyperlink delimiters, now square brackets --- lib/sisu/hub_options.rb | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'lib/sisu/hub_options.rb') diff --git a/lib/sisu/hub_options.rb b/lib/sisu/hub_options.rb index c967c6ff..0794dffb 100644 --- a/lib/sisu/hub_options.rb +++ b/lib/sisu/hub_options.rb @@ -9,8 +9,8 @@ *** hub ** Author: Ralph Amissah - - + [ralph@amissah.com] + [ralph.amissah@gmail.com] ** Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016 Ralph Amissah, @@ -33,14 +33,12 @@ more details. You should have received a copy of the GNU General Public License along with - this program. If not, see . + this program. If not, see [http://www.gnu.org/licenses/]. If you have Internet connection, the latest version of the GPL should be available at these locations: - - - - + [http://www.fsf.org/licensing/licenses/gpl.html] + [http://www.gnu.org/licenses/gpl.html] ** SiSU uses: * Standard SiSU markup syntax, @@ -48,12 +46,12 @@ * Standard SiSU object citation numbering and system ** Hompages: - - + [http://www.jus.uio.no/sisu] + [http://www.sisudoc.org] ** Git - - + [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=summary] + [http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=blob;f=lib/sisu/hub_options.rb;hb=HEAD] =end module SiSU_Commandline -- cgit v1.2.3 From ee91e6282464321d5f1e8694c048c24abf8d15d7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 24 Feb 2016 23:21:06 -0500 Subject: json, an output representation, first pass --- lib/sisu/hub_options.rb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/sisu/hub_options.rb') diff --git a/lib/sisu/hub_options.rb b/lib/sisu/hub_options.rb index 0794dffb..e0832553 100644 --- a/lib/sisu/hub_options.rb +++ b/lib/sisu/hub_options.rb @@ -636,6 +636,9 @@ module SiSU_Commandline if ch =~/j/ then select_arr << '--images' ch=ch.gsub(/[j]/,'') end + if ch =~/J/ then select_arr << '--json' + ch=ch.gsub(/[J]/,'') + end if ch =~/N/ then select_arr << '--digests' ch=ch.gsub(/[N]/,'') end @@ -1022,6 +1025,10 @@ module SiSU_Commandline =~/"--images"/) \ ? { bool: true, set: :on } : { bool: false, set: :na } + act[:json]=(select_arr.inspect \ + =~/"--json"/) \ + ? { bool: true, set: :on } + : { bool: false, set: :na } if select_arr.inspect \ =~/"--pdf"/ if select_arr.inspect \ @@ -1488,6 +1495,7 @@ module SiSU_Commandline || act[:html][:set]==:on \ || act[:html_seg][:set]==:on \ || act[:html_scroll][:set]==:on \ + || act[:json][:set]==:on \ || act[:texinfo][:set]==:on \ || act[:manpage][:set]==:on \ || act[:hash_digests][:set]==:on \ @@ -1538,6 +1546,7 @@ module SiSU_Commandline || act[:html][:set]==:on \ || act[:html_seg][:set]==:on \ || act[:html_scroll][:set]==:on \ + || act[:json][:set]==:on \ || act[:texinfo][:set]==:on \ || act[:manpage][:set]==:on \ || act[:hash_digests][:set]==:on \ -- cgit v1.2.3