From 098c4e5ef47c5568d1de8ac670c78b7ddaeefbbb Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 2 Apr 2009 18:15:02 +0000 Subject: [PATCH] Added -c as an alternative for --no-main --- Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Main.hs b/Main.hs index 04f7882..1198774 100644 --- a/Main.hs +++ b/Main.hs @@ -69,7 +69,7 @@ optionsNoWarnings = , Option [] ["run-indent"] (NoArg $ optRunIndent) "run indent on source before compilation (will full mode)" , Option [] ["frontend"] (ReqArg optFrontend "FRONTEND") "language frontend (options: occam, rain)" , Option [] ["mode"] (ReqArg optMode "MODE") "select mode (options: flowgraph, lex, html, parse, compile, post-c, full)" - , Option [] ["no-main"] (NoArg optNoMain) "file has no main process; do not link either" + , Option ['c'] ["no-main"] (NoArg optNoMain) "file has no main process; do not link either" , Option ['o'] ["output"] (ReqArg optOutput "FILE") "output file (default \"-\")" , Option [] ["sanity-check"] (ReqArg optSanityCheck "SETTING") "internal sanity check (options: on, off)" , Option [] ["occam2-mobility"] (ReqArg optClassicOccamMobility "SETTING") "occam2 implicit mobility (EXPERIMENTAL) (options: on, off)"