From: Michael D. Lowis Date: Tue, 21 Oct 2014 20:47:25 +0000 (-0400) Subject: Added command line option for specifying the entry point X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=8adc9b287ab215a75e9b0d1a32a5d4ae339c8f3c;p=proto%2Fsclpl.git Added command line option for specifying the entry point --- diff --git a/source/sclpl/main.c b/source/sclpl/main.c index 538e33d..84ee672 100644 --- a/source/sclpl/main.c +++ b/source/sclpl/main.c @@ -17,6 +17,8 @@ opts_cfg_t Options_Config[] = { {"staticlib", false, "mode", "Compile the application as a static library"}, {"sharedlib", false, "mode", "Compile the application as a shared library"}, {"program", false, "mode", "Compile the application as an executable"}, + {"e", true, "entry", "Specify the file that contains the entry point for the executable"}, + {"entry", true, "entry", "Specify the file that contains the entry point for the executable"}, {"R", true, "include", "Add a path to the list of require paths"}, {NULL, false, NULL, NULL } };