Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196060 - keychain --help should print usage to stdout
Summary: keychain --help should print usage to stdout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Keychain (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-16 15:23 UTC by Elan Ruusamäe
Modified: 2009-10-27 17:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Print help to stdout for greping. (stdout.patch,350 bytes, patch)
2009-01-16 19:02 UTC, Greg Fitzgerald
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elan Ruusamäe 2007-10-16 15:23:05 UTC
keychain --help | less -r
i can't scroll up and down, because output went to >&2

workaround is to redirect, but it's annoying:
keychain --help 2>&1 | less -r

Reproducible: Always

Steps to Reproduce:



Expected Results:  
let --help output be in stdout so i could less(1) or grep(1) the usage.
Comment 1 Greg Fitzgerald 2009-01-16 19:02:23 UTC
Created attachment 178712 [details, diff]
Print help to stdout for greping.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-07 00:44:41 UTC
Thanks for the patch. I apologize for the length of time without a comment on this bug. I present this to upstream for comment. 

Daniel, if you will please provide input. Thank you.
Comment 3 Daniel Robbins 2009-08-12 17:57:37 UTC
I'd like to fix this to 2.6.10
Comment 4 Daniel Robbins 2009-09-30 01:50:46 UTC
This is officially going into 2.6.10 and will be committed to the keychain git repo today (http://www.github.com/funtoo/keychain.)
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-10-27 17:06:10 UTC
2.7.0 is in the tree. thx