[SCM] Lisaac compiler branch, master+stable, updated. lisaac-0.12-606-gf445725

Mildred Ki'Lya silkensedai at online.fr
Mon Mar 1 00:36:06 UTC 2010


The following commit has been merged in the master+stable branch:
commit d68c81114bedd3c8406687436197983f7af3079b
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date:   Sat Feb 20 02:23:07 2010 +0100

    Add -h and -version in shorter

diff --git a/src/shorter.li b/src/shorter.li
index b38ccae..f3f9441 100644
--- a/src/shorter.li
+++ b/src/shorter.li
@@ -72,6 +72,8 @@ Section Private
   \  -f <format_file> : formatting description file            \n\
   \                     (see `/lisaac/shorter/')               \n\
   \  -d               : Lisaac doc style (no -c, -r)           \n\
+  \  -h               : Help                                   \n\
+  \  -version         : Show version information               \n\
   \                                                            \n\
   \Examples:                                                   \n\
   \  * Output format file:                                     \n\
@@ -145,6 +147,8 @@ Section Private
           is_shorter  := FALSE;          
           is_shorter2 := TRUE;
           is_short_recursive := TRUE;
+        }.elseif {cmd ~= "-version"} then {
+          display_version;
 	} else {
 	  display_usage;
 	};

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list