]> git.mdlowis.com Git - proto/sclpl.git/commitdiff
Added command line option for specifying the entry point
authorMichael D. Lowis <mike@mdlowis.com>
Tue, 21 Oct 2014 20:47:25 +0000 (16:47 -0400)
committerMichael D. Lowis <mike@mdlowis.com>
Tue, 21 Oct 2014 20:47:25 +0000 (16:47 -0400)
source/sclpl/main.c

index 538e33d40f38310876ea3facd04c8a1fa5904ec0..84ee6722865932974482e6d09bf1841b3252d05c 100644 (file)
@@ -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 }
 };