Adalennis opened a new issue, #9441: URL: https://github.com/apache/hop/issues/9441
### Apache Hop version? 2.20.0 ### Java version? Java 21 ### Operating system macOS ### What happened? Reproduced on 2.20.0; the code involved is unchanged on main. `hop import` ends with exit code 0 when it stops before importing anything, so scripts and CI cannot tell that nothing was imported. | Command | Message | Exit code | |---|---|---| | `hop import` (no `-i` / `-o`) | "Please specify an input folder to read from", then the usage | 0 | | `hop import -i <folder>` (no `-o`) | "Please specify an output folder to write to", then the usage | 0 | | `hop import -t nosuchtype -i <folder> -o <folder>` | "Import plugin type 'nosuchtype' could not be found." | 0 | | `hop-import.sh` (no arguments) | the same messages | 1 | | `hop import -i /nonexistent -o <folder>` | "input folder '/nonexistent' doesn't exist or is not a folder." | 1 | 1. `./hop import ; echo $?` prints 0. 2. `./hop-import.sh ; echo $?` prints 1. ### Issue Priority Priority: 3 ### Issue Component Component: CLI, Component: Import -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
