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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the cmd-line args match cowsay's usage #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tmck-code
Copy link

Context

I looked for the -n options to disable line wrapping and found that it wasn't in pokemonsay. I find it useful so that quotes/poems etc. don't have weird line wrapping that makes them a little awkward to read.

Changes

  • changed settings wrapping width with -W instead of -w.
  • implemented missing arg -n to disable line wrapping
  • Changed existing -n to -N to avoid conflict

Caveats

This does break the existing usage of -n ("don't print pok茅mon name) and -w (line-wrap width), but I decided that trying to match the existing cowsay args first might be a good approach.'

I'm happy to keep the existing args if that is more desirable 馃憤 .

* changed settings wrapping width with `-W` instead of `-w`.
* implemented missing arg `-n` to disable line wrapping
* Changed existing `-n` to `-N` to avoid conflict
@joezhouchenye
Copy link

Just use the cow files instead of pokemonsay. cowsay -n -f <file> message will work.

AnthonyVadala added a commit to AnthonyVadala/pokemonsay that referenced this pull request Apr 27, 2022
Includes changes from open pull requests on  possatti /
pokemonsay
possatti#20
possatti#15
possatti#11
possatti#10
possatti#9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants