d7566f5f5a
* client: Fix exit codes for /help and similar option Currently, non-zero exit code is returned for /version, /buildconfig, /help, /monitor-list, /kbd-list and /kbd-lang-list command-line options for several clients. This is against conventions because 0 is usually returned in such cases. Also, there is potentially another problem that the returned codes overflow on UNIX systems (where the exit code is a number between 0 and 255). Let's fix the clients to return 0 in the mentioned cases to honor conventions and 1 for the command-line parsing errors (or -1 for clients who already use that value). Fixes: https://github.com/FreeRDP/FreeRDP/issues/6686 * Refactored freerdp_client_settings_command_line_status_print_ex Now returns 0 if help or version information was requested. * Do not eliminate original error status. Co-authored-by: akallabeth <akallabeth@posteo.net> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
wlf_channels.c | ||
wlf_channels.h | ||
wlf_cliprdr.c | ||
wlf_cliprdr.h | ||
wlf_disp.c | ||
wlf_disp.h | ||
wlf_input.c | ||
wlf_input.h | ||
wlf_pointer.c | ||
wlf_pointer.h | ||
wlfreerdp.1.in | ||
wlfreerdp.c | ||
wlfreerdp.h |