From 8adc9b287ab215a75e9b0d1a32a5d4ae339c8f3c Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Tue, 21 Oct 2014 16:47:25 -0400 Subject: [PATCH] Added command line option for specifying the entry point --- source/sclpl/main.c | 2 ++ 1 file changed, 2 insertions(+) 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 } }; -- 2.55.0