andrewchambers / bupstash

Easy and efficient encrypted backups.

Home Page:https://bupstash.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tag ids cannot contain hyphens, despite documentation claiming they can.

Techcable opened this issue · comments

The documentation for 0.12.0 claims that valid tag ids support alphanumeric characters, and - or _.

However, today (on bupstash-0.12.0) tags with hyphens like extracted-from were not working until I changed them to underscores _. Either the documentation should be updated or the pattern should be fixed (preferably the later).

This took a long time to figure out because bupstash gives poor error messages when flags, tags, and positional arguments are mixed up.

This took a long time to figure out because bupstash gives poor error messages when flags, tags, and positional arguments are mixed up.

Yet another reason in favor of #389 IMO

With #382, you should at least get decent error messages. Also, please post more information about your issue so that I can better understand it.