Skip to content

Added usage message#2

Open
erica wants to merge 1 commit intobloominstituteoftechnology:masterfrom
erica:master
Open

Added usage message#2
erica wants to merge 1 commit intobloominstituteoftechnology:masterfrom
erica:master

Conversation

@erica
Copy link
Copy Markdown
Contributor

@erica erica commented Aug 2, 2018

This update adds a usage message preventing the user from issuing the command with arguments. In the initial release, a user could say $ hello goodbye, for example, and the utility would reply hello world. The argument check, looking for no more than a single command, ensures that any additional text branches from normal execution to generate a standard usage message.

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.

1 participant