Bug 52 - pasta --help option writes to stderr instead of stdout
Summary: pasta --help option writes to stderr instead of stdout
Status: RESOLVED FIXED
Alias: None
Product: passt
Classification: Unclassified
Component: pasta (show other bugs)
Version: unspecified
Hardware: All Linux
: Normal normal
Assignee: nobody
URL:
Depends on:
Blocks:
 
Reported: 2023-05-29 17:01 UTC by Erik Sjölund
Modified: 2023-06-26 19:11 UTC (History)
1 user (show)

See Also:


Attachments

Description Erik Sjölund 2023-05-29 17:01:09 UTC
The help output is written to stderr. It would be better if the help output
was written to stdout instead. That would make it easier to grep for command-line options.

A test on Fedora 38

$ rpm -qf /usr/bin/pasta
passt-0^20230509.g96f8d55-1.fc38.x86_64
$ /usr/bin/pasta --help 2>&1 | grep -- --help
  -h, --help		Display this help message and exit
$ /usr/bin/pasta --help 2> /dev/null 
$
Comment 2 Stefano Brivio 2023-06-26 19:11:46 UTC
Fixed in version 2023_06_25.32660ce

Note You need to log in before you can comment on or make changes to this bug.