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

cal: display_help() tweak #583

Merged
merged 1 commit into from
Apr 28, 2024
Merged

cal: display_help() tweak #583

merged 1 commit into from
Apr 28, 2024

Conversation

mknos
Copy link
Contributor

@mknos mknos commented Apr 28, 2024

  • Example scenario: I type "perl cal -r", expecting it to work like "cal -r" on NetBSD
  • I get a message that -r is invalid. Ok
  • I get a message that cal is part of perl power tools; I don't care, I just want to see the valid options
  • Remove the introductory text from display_help() and prefix the usage string with "usage: "
  • The distribution info is still available at the bottom of the manual (perl perldoc cal)

* Example scenario: I type "perl cal -r", expecting it to work like it does on NetBSD
* I get a message that -r is invalid. Ok
* I get a message that cal is part of perl power tools; I don't care, I just want to see the valid options
* Remove the introductory text from display_help() and prefix the usage string with "usage: "
* The distribution info is still available at the bottom of the manual (perl perldoc cal)
@github-actions github-actions bot added Type: enhancement improve a feature that already exists Priority: low get to this whenever Program: cal The cal program labels Apr 28, 2024
@briandfoy briandfoy merged commit 90d33db into briandfoy:master Apr 28, 2024
2 checks passed
@briandfoy
Copy link
Owner

changes: simplify usage message

@briandfoy briandfoy self-assigned this Apr 28, 2024
@briandfoy briandfoy added Status: accepted The fix is accepted Status: released there is a new release with this fix and removed Priority: low get to this whenever Status: accepted The fix is accepted labels Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Program: cal The cal program Status: released there is a new release with this fix Type: enhancement improve a feature that already exists
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants