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 faa1fe33de0b4220125bd37ecf7bd904dff76ba4
Author: swagtoy <m...@ow.swag.toys>
AuthorDate: Sat Oct 26 18:12:09 2024 -0400
eshell: Fix argument parsing/don't show help on no command
---
eshell/src/main.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/eshell/src/main.c b/eshell/src/main.c
index 7d3c54b..0481756 100644
--- a/eshell/src/main.c
+++ b/eshell/src/main.c
@@ -38,9 +38,8 @@ main(int argc, char** argv)
ecore_app_args_set(argc, (const char**)argv);
int args = ecore_getopt_parse(&options, values, argc, argv);
- if (args != 1)
- ecore_getopt_help(stderr, &options);
- else {
+ if (args == 1)
+ {
struct Eshell* eshell;
eshell_init(eshell, argc, argv);
eshell_io_loop(eshell);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.