This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository eshell.

View the commit online.

commit 668c2653b1304ea37986b4871ce2028df3426b00
Author: swagtoy <m...@ow.swag.toys>
AuthorDate: Sat Oct 19 18:10:31 2024 -0400

    eshell: Show help
---
 eshell/CMakeLists.txt | 7 +++++--
 eshell/src/main.c     | 6 ++++--
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/eshell/CMakeLists.txt b/eshell/CMakeLists.txt
index 5952a95..de1bfda 100644
--- a/eshell/CMakeLists.txt
+++ b/eshell/CMakeLists.txt
@@ -3,6 +3,7 @@ project(
 	VERSION 0.1
 	LANGUAGES C)
 
+# TODO not just PkgConfig
 find_package(PkgConfig)
 pkg_check_modules(EFL REQUIRED efl ecore)
 
@@ -10,5 +11,7 @@ add_executable(Eshell
 	src/main.c)
 
 set_target_properties(Eshell PROPERTIES OUTPUT_NAME "eshell")
-target_include_directories(Eshell PUBLIC ${ECORE_INCLUDE_DIRS} ${EFL_INCLUDE_DIRS})
-target_link_libraries(Eshell ${EFL_LIBRARIES})
+target_include_directories(Eshell PUBLIC
+	${EFL_INCLUDE_DIRS})
+target_link_libraries(Eshell
+	${EFL_LIBRARIES})
diff --git a/eshell/src/main.c b/eshell/src/main.c
index 086eebe..e1232a3 100644
--- a/eshell/src/main.c
+++ b/eshell/src/main.c
@@ -4,8 +4,8 @@
 static const Ecore_Getopt options = {
 	"Eshell",
 	"%prog [options] <filename>",
-	"0.1",
-	"2023 Enlightenment",
+	"0.1-dev",
+	"2024 Swagtoy",
 	"BSD 3-Clause",
 	"A powerful shell scripting language",
 	1,
@@ -35,5 +35,7 @@ main(int argc, char** argv)
 	
 	ecore_app_args_set(argc, (const char**)argv);
 	int args = ecore_getopt_parse(&options, values, argc, argv);
+	//if (args == 0)
+		ecore_getopt_help(stderr, &options);
 	return 0;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to