FreeRDP/winpr
Ondrej Holy cf3ba75673 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
(cherry picked from commit 3ee4cabcfa)
2021-02-25 09:51:41 +01:00
..
include client: Fix exit codes for /help and similar option 2021-02-25 09:51:41 +01:00
libwinpr winpr/clipboard: Also save lastWriteTime for FILEDESCRIPTORW 2021-02-25 09:51:41 +01:00
test Reformatted to new style 2019-11-07 10:53:54 +01:00
tools Fixed typos (Otherweise) 2020-05-18 17:03:28 +02:00
.gitignore Add library libwinpr-tools 2016-05-03 14:42:08 +02:00
CMakeLists.txt Updated version information for 2.2.0 release 2020-07-07 10:56:21 +02:00
winpr.pc.in Include major version number in library names 2017-01-16 11:11:58 +01:00
WinPRConfig.cmake.in build: remove FREERDP_MONOLITHIC_BUILD 2016-01-12 17:32:32 +01:00
wlog.7 Fix issues in wlog man page 2016-12-01 15:36:31 +01:00