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

命令行不能用 - 代表 stdin #12

Open
wtdcode opened this issue Nov 18, 2019 · 2 comments
Open

命令行不能用 - 代表 stdin #12

wtdcode opened this issue Nov 18, 2019 · 2 comments

Comments

@wtdcode
Copy link
Member

wtdcode commented Nov 18, 2019

$ ./miniplc0 -l -
Unknown argument

Usage: miniplc0 [options] input

Positional arguments:
input       	speicify the file to be compiled.

Optional arguments:
-h --help   	show this help message and exit
-t          	perform tokenization for the input file.
-l          	perform syntactic analysis for the input file.
-o --output 	specify the output file.[Required]

看来是 argparse 还有些bug,待修。

@wtdcode
Copy link
Member Author

wtdcode commented Nov 20, 2019

上游修复感觉要一年....

@wtdcode
Copy link
Member Author

wtdcode commented Nov 21, 2019

See this.

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

No branches or pull requests

1 participant