Go to file
Ondrej Holy d7566f5f5a
client: Fix exit codes for /help and similar option (#6741)
* 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>
2021-01-22 09:44:55 +01:00
.github x11: update cmake file to build with fuse2/fuse3 or without fuse 2021-01-18 19:13:56 +01:00
channels Check drive to hotplug for already being redirected 2021-01-15 10:41:12 +01:00
ci/cmake-preloads Disable ios client until maintained. 2020-10-15 10:31:05 +02:00
client client: Fix exit codes for /help and similar option (#6741) 2021-01-22 09:44:55 +01:00
cmake x11: refactor fuse code 2021-01-18 19:13:56 +01:00
docs Update README.android 2020-12-08 14:11:42 +01:00
external cmake: added external directory 2012-11-01 13:50:49 -04:00
include Merge pull request #6723 from akallabeth/color_fidelity_fix 2021-01-19 14:14:47 +01:00
libfreerdp Added missing CoreFoundation library to dependencies 2021-01-21 09:51:30 +01:00
packaging fix [packaging/rpm]: build for fedora >= 33 2020-11-18 07:13:49 +01:00
rdtk Remove symbols exported by accident. 2019-12-02 10:57:31 +01:00
resources Reformatted to new style 2019-11-07 10:53:54 +01:00
scripts Added settings dump function 2021-01-18 18:46:04 +01:00
server Fixed progressive decoding without subbanddiff 2020-12-15 14:47:05 +01:00
third-party cleanup cmake exports and pkg-config files 2016-01-12 17:32:33 +01:00
uwac Merge pull request #6284 from akallabeth/wayland 2020-06-19 11:44:28 +02:00
winpr client: Fix exit codes for /help and similar option (#6741) 2021-01-22 09:44:55 +01:00
.clang-format Updated format file. 2019-11-07 10:51:42 +01:00
.gitignore First version of an RDP proxy (#5372) 2019-05-17 14:32:54 +02:00
.travis.yml initial travis-ci support 2018-03-25 21:38:46 +05:00
buildflags.h.in Fixed use of reserved keywords for include guards. 2017-07-20 09:35:41 +02:00
ChangeLog new: update ChangeLog for 2.2.0 2020-07-20 14:23:01 +02:00
CMakeCPack.cmake Added pdb files to package target. 2015-12-15 12:07:21 +01:00
CMakeCPackOptions.cmake.in cmake: fix package generation on Mac OS X 2013-09-09 21:42:25 -04:00
CMakeLists.txt Fix #6461: Generate config.h after all subdirectories are parsed. 2020-09-23 13:16:48 +02:00
config.h.in Added compile time urbdrc debug option 2020-07-07 10:43:08 +02:00
LICENSE FreeRDP 1.0: initial commit 2011-06-30 15:12:51 -04:00
README.md Add .md file extention to README 2019-05-07 16:13:14 +03:00

FreeRDP: A Remote Desktop Protocol Implementation

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Enjoy the freedom of using your software wherever you want, the way you want it, in a world where interoperability can finally liberate your computing experience.

Resources

Project website: https://www.freerdp.com/
Issue tracker: https://github.com/FreeRDP/FreeRDP/issues
Sources: https://github.com/FreeRDP/FreeRDP/
Downloads: https://pub.freerdp.com/releases/
Wiki: https://github.com/FreeRDP/FreeRDP/wiki
API documentation: https://pub.freerdp.com/api/

IRC channel: #freerdp @ irc.freenode.net
Mailing list: https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Microsoft Open Specifications

Information regarding the Microsoft Open Specifications can be found at: http://www.microsoft.com/openspecifications/

A list of reference documentation is maintained here: https://github.com/FreeRDP/FreeRDP/wiki/Reference-Documentation

Compilation

Instructions on how to get started compiling FreeRDP can be found on the wiki: https://github.com/FreeRDP/FreeRDP/wiki/Compilation