Based on a recent suggestion on fricas-devel, this patch allows to use
double dashes for long options (option names with more than one letter).
Furthermore, it introduces the options --help and --version.
The --version option is programmed in such a way that neither FRICASsys
nor sman are started.

Would be good if "fricas --version" would not only print "FriCAS 1.3.5",
but also "based on SBCL 1.5.8" without calling FRICASsys or sman.

Any suggestions?
Would I have to fetch that information at install time by running

FRICASsys --eval ')lisp (lisp-implementation-type)' --eval ')lisp
(lisp-implementation-version)' --eval ")quit"

and put it as variables into the fricas script?


Current code is at the top commit of my long-options branch.

https://github.com/hemmecke/fricas/commits/long-options

Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/e19dfdc5-c1aa-0a30-2a6a-11bf7854940e%40hemmecke.org.

Reply via email to