Good day everyone,
why does this command in bash:
$ konqueror --help-all
output return code 254?
$ echo $? 254
Shouldn't that be zero?
Kind regards, Stefan
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2019/07/16 04:45 PM, Stefan Krusche wrote:
Good day everyone,
why does this command in bash:
$ konqueror --help-all
output return code 254?
$ echo $? 254
Shouldn't that be zero?
Hi Stefan, This is standard exit code in TDE when using --help-all. It prints the usage and exit with code 254. It is in tdecmdlineargs.cpp source code.
Cheers Michele
Am Mittwoch, 17. Juli 2019 schrieb Michele Calgaro via trinity-users:
On 2019/07/16 04:45 PM, Stefan Krusche wrote:
Good day everyone,
why does this command in bash:
$ konqueror --help-all
output return code 254?
$ echo $? 254
Shouldn't that be zero?
Hi Stefan, This is standard exit code in TDE when using --help-all. It prints the usage and exit with code 254. It is in tdecmdlineargs.cpp source code.
Cheers Michele
Thanks. I wouldn't have expected that. Stefan
On 07/16/2019 03:45 AM, Stefan Krusche wrote:
Good day everyone,
why does this command in bash:
$ konqueror --help-all
output return code 254?
$ echo $? 254
Shouldn't that be zero?
Maybe, but it's been 254 for a LONG-LONG time.....
Am Donnerstag, 18. Juli 2019 schrieb David C. Rankin:
On 07/16/2019 03:45 AM, Stefan Krusche wrote:
Good day everyone,
why does this command in bash:
$ konqueror --help-all
output return code 254?
$ echo $? 254
Shouldn't that be zero?
Maybe, but it's been 254 for a LONG-LONG time.....
Thanks, David, I think I got it. Stefan