darkhz / bluetuith

A TUI bluetooth manager for Linux.
MIT License
850 stars 21 forks source link

cmd: fix version print if no `@` is present #48

Closed katexochen closed 6 months ago

katexochen commented 6 months ago

Just a tiny fix, previously, when embedding a version without @, the version command would have printed

./bluetuith --version
Bluetuith v[0.2.0]

now it prints

./bluetuith --version
Bluetuith v0.2.0
darkhz commented 6 months ago

Very good, this will be merged.