Bug 52

Summary: pasta --help option writes to stderr instead of stdout
Product: passt Reporter: Erik Sjölund <erik.sjolund>
Component: pastaAssignee: nobody
Status: RESOLVED FIXED    
Severity: normal CC: sbrivio
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   

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