Mercurial > urweb
changeset 1923:afdc823563de
Small reformatting and documentation for '-print-cinclude'
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Fri, 06 Dec 2013 08:54:03 -0500 |
parents | 5890ba37827c |
children | f1c211936557 |
files | doc/manual.tex src/main.mlton.sml |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/manual.tex Wed Nov 06 13:54:07 2013 +0400 +++ b/doc/manual.tex Fri Dec 06 08:54:03 2013 -0500 @@ -275,6 +275,8 @@ \item \texttt{-print-ccompiler}: Print the C compiler being used. +\item \texttt{-print-cinclude}: Print the name of the directory where C/C++ header files are installed. + \item \texttt{-protocol [http|cgi|fastcgi|static]}: Set the protocol that the generated application speaks. \begin{itemize} \item \texttt{http}: This is the default. It is for building standalone web servers that can be accessed by web browsers directly.
--- a/src/main.mlton.sml Wed Nov 06 13:54:07 2013 +0400 +++ b/src/main.mlton.sml Fri Dec 06 08:54:03 2013 -0500 @@ -56,10 +56,10 @@ raise Code OS.Process.success) fun printNumericVersion () = (print (Config.versionNumber ^ "\n"); raise Code OS.Process.success) - fun printCCompiler () = (print ((Settings.getCCompiler ()) ^ "\n"); - raise Code OS.Process.success) - fun printCInclude () = (print ((Config.includ) ^ "\n"); - raise Code OS.Process.success) + fun printCCompiler () = (print (Settings.getCCompiler () ^ "\n"); + raise Code OS.Process.success) + fun printCInclude () = (print (Config.includ ^ "\n"); + raise Code OS.Process.success) fun doArgs args = case args of