andreasfertig / cppinsights

C++ Insights - See your source code with the eyes of a compiler
https://cppinsights.io
MIT License
4.1k stars 242 forks source link

--stdin still need argument #669

Open Freed-Wu opened 1 month ago

Freed-Wu commented 1 month ago
$ insights --stdin
insights: Not enough positional command line arguments specified!
Must specify at least 1 positional argument: See: insights --help

We have to

insights /dev/null --stdin

It is not reasonable. --stdin will accept input from stdin, some we don't need any input argument.