Skip to content

Trigger the usage information if MysoreScript is invoked uselessly - #14

Open
varkor wants to merge 1 commit into
CompilerTeaching:masterfrom
varkor:helpful-help
Open

Trigger the usage information if MysoreScript is invoked uselessly#14
varkor wants to merge 1 commit into
CompilerTeaching:masterfrom
varkor:helpful-help

Conversation

@varkor

@varkor varkor commented Oct 19, 2017

Copy link
Copy Markdown
Contributor

It’s helpful to display the usage information for a program if no arguments are supplied to it, or if the arguments are supplied incorrectly (e.g. passing a filename without -f). This displays the usage if no action (executing a file or starting the REPL) is taken.

If the interpreter is triggered without displaying the help, not in
REPL mode, and not executing a file, then the usage information will be
displayed.
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