So, one positional argument equates to getting some number of words while two positional arguments mean lines? If I'm understanding it correctly, this seems like confusing and unintuitive behavior.
Maybe consider adding named arguments, like --from and --to for lines and --words for maximum word count?
Hey, thank you for your suggestion. That thought crossed my mind too, but the aim was to keep things really minimal without any flags. Maybe if this is a really big problem, I will definitely incorporate the named arguments!