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
Originally reported byBen Finney (Bitbucket: bignose, GitHub: bignose)
The program name, for use in the help message, is derived from the command-line arguments — except when the command-line shows the program is the main module of a package.
Original comment byBen Finney (Bitbucket: bignose, GitHub: bignose)
This patch implements a proposed improvement for this bug.
I am not able to figure out how to get the tests running, so I have written test cases that I hope demonstrate the problem and test the implementation.
Originally reported by Ben Finney (Bitbucket: bignose, GitHub: bignose)
The program name, for use in the help message, is derived from the command-line arguments — except when the command-line shows the program is the main module of a package.
The name ‘coverage’ is hard-coded, regardless of what the package actually is.
Instead, when the command-line first argument shows the program was invoked as a package, the package name should be used for the program name.
The text was updated successfully, but these errors were encountered: