monolith icon indicating copy to clipboard operation
monolith copied to clipboard

Confusing instructions

Open bound-variable opened this issue 3 years ago • 1 comments

Running monolith --help prints:

monolith [FLAGS] [OPTIONS] <target>

But the README on GitHub instructs:

monolith https://lyrics.github.io/db/P/Portishead/Dummy/Roads/ -o portishead-roads-lyrics.html

Here, the option -o is after the target, not before as printed from --help.

bound-variable avatar Feb 03 '22 00:02 bound-variable

I'd suppose either would work.

trentwiles avatar Feb 10 '22 17:02 trentwiles

Monolith takes only one argument, the rest is flags/options... the order is personal preference, and -o is at the end because it's hard to come up with a proper file name without seeing the target URL first. I'll probably change it to -o "%T.html" and move before the target when automatic filename assignment feature is in place.

Thank you for the feedback!

snshn avatar Nov 10 '22 23:11 snshn