bupstash icon indicating copy to clipboard operation
bupstash copied to clipboard

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

Open Techcable opened this issue 2 years ago • 2 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.

Techcable avatar Aug 20 '23 22:08 Techcable

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

piegamesde avatar Feb 03 '24 10:02 piegamesde

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.

piegamesde avatar Feb 03 '24 12:02 piegamesde