Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not escape '=' when printing value names with the "values" subcommand #195

Merged
merged 1 commit into from
May 13, 2022

Conversation

ipkiss42
Copy link
Contributor

Escaping is undesirable for the "values" subcommand, since there is no possible ambiguity in its output (no tag=value is printed). It was also not consistent.

Behavior before the fix:

$ tmsu tag . 'foo=a\=b' 
tmsu: new value 'a=b'
$ tmsu values foo
a\=b
$ tmsu values
a=b

Note that formatTagValueName (used in imply and tags) still escapes =.

@oniony oniony merged commit 9246648 into oniony:master May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants