You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 29, 2018. It is now read-only.
Bug 1311730
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1311730
Errors were being seen when command line tools using the 'optparse' libary.
Using long-form only options with a single dash was resulting in odd returns,
but no errors. This is because optparse automatically infers a short-form
option for long-form options that have a unique starting letter. So '--ids' has
an implied short-form of '-i'. This meant that running a command with '-ids'
would actually use '-i' and pass in "ds" as an ID value. This commit takes
several cases where this happens and explicitely defines the short-form options
in the relevant scripts and man pages, which should reduce confusion on why
certain options may not error out as expected.
Also updates an old man page to reflect the current options.
0 commit comments