Don't parse if there are no flags.

This commit is contained in:
Erik C. Thauvin 2021-10-16 02:25:04 -07:00
parent fd3661b21b
commit edb77726f1
4 changed files with 71 additions and 49 deletions

View file

@ -68,7 +68,7 @@ Parameter | Description | Type
:--------------- |:----------------------------- | :-------------------
paths | The file paths. | String[]
output | The standard output or file. | [IOSink](https://api.dart.dev/dart-io/IOSink-class.html)
input | The standard input. | Stream<List\<int\>\>?
input | The standard input. | [Stream](https://api.dart.dev/dart-io/Stdin-class.html)
showEnds | Same as `-e` | bool
numberNonBlank | Same as `-b` | bool
showLineNumbers | Same as `-n` | bool