Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support -h for getting help #1347

Merged
merged 2 commits into from Nov 13, 2020
Merged

Support -h for getting help #1347

merged 2 commits into from Nov 13, 2020

Conversation

rahulporuri
Copy link
Contributor

@rahulporuri rahulporuri commented Nov 13, 2020

(For @achabotl)

Currently, python -m etstool --help works for getting help but python -m etstool -h does not. This breaks user expectations when working with a command line application. This PR makes -h work as expected.

Checklist

  • Tests
  • Update API reference (docs/source/traits_api_reference)
  • Update User manual (docs/source/traits_user_manual)
  • Update type annotation hints in traits-stubs

Copy link
Member

@mdickinson mdickinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and works in manual testing.

@rahulporuri rahulporuri added this to In Progress in Enthought OSS Q4 2020 Nov 13, 2020
@rahulporuri rahulporuri merged commit cdfe3c3 into master Nov 13, 2020
@rahulporuri rahulporuri deleted the rahulporuri-patch-1 branch November 13, 2020 09:14
@rahulporuri rahulporuri moved this from In Progress to Done in Enthought OSS Q4 2020 Nov 13, 2020
@rahulporuri rahulporuri moved this from Done to Sprint 3 : Nov 2 - Nov 13 2020 in Enthought OSS Q4 2020 Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Enthought OSS Q4 2020
Sprint 3 : Nov 2 - Nov 13 2020
Development

Successfully merging this pull request may close these issues.

None yet

2 participants