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

Add description of STDIN mode to help command #124

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

ydah
Copy link
Collaborator

@ydah ydah commented Oct 15, 2023

❯ exe/lrama --help                                     
Lrama is LALR (1) parser generator written by Ruby.

Usage: lrama [options] FILE

+STDIN mode:
+lrama [options] - FILE               read grammar from STDIN

Tuning the Parser:
    -S, --skeleton=FILE              specify the skeleton to use
    -t                               reserved, do nothing

Output:
    -h, --header=[FILE]              also produce a header file named FILE
    -d                               also produce a header file
    -r, --report=THINGS              also produce details on the automaton
        --report-file=FILE           also produce details on the automaton output to a file named FILE
    -o, --output=FILE                leave output to FILE
        --trace=THINGS               also output trace logs at runtime
    -v                               reserved, do nothing

Error Recovery:
    -e                               enable error recovery

Other options:
    -V, --version                    output version information and exit
        --help                       display this help and exit

@yui-knk yui-knk merged commit 32cea08 into ruby:master Oct 16, 2023
12 checks passed
@ydah ydah deleted the add-help-for-stdin-mode branch October 16, 2023 04:51
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.

2 participants