xavdid / reddit-user-to-sqlite

Pull Reddit user data into a SQLite database
https://pypi.org/project/reddit-user-to-sqlite/
MIT License
215 stars 9 forks source link

Issue with usernames starting with - #11

Closed monkey-w1n5t0n closed 1 year ago

monkey-w1n5t0n commented 1 year ago

Usernames with a leading - are apparently being parsed as a command-line arg:

reddit-user-to-sqlite user -some_username

or

reddit-user-to-sqlite user "-some_username"

lead to

Error: No such option: -s

But this works:

reddit-user-to-sqlite user /u/-some_username
xavdid commented 1 year ago

Yep, see discussion in #6- I'll get a line added to the FAQ that mentions this.

xavdid commented 1 year ago

I've added info about this to the FAQs.