You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--version is automatically generated by clap. I dived a bit into the subject, and I found that clap can generate a short version (-V) and a long version (--version). I was able to customize the long one thanks to a custom build.rs, and it looks like this:
$ himalaya -V
himalaya v1.0.0
$ himalaya --version
himalaya 1.0.0 linux gnu x86_64 git branch master rev d4b81a82944ca595071d459fd3f3fc8209dc3ac1
while himalaya's in an extended 1.0.0 beta, it should probably report the beta release or commit hash.
The text was updated successfully, but these errors were encountered: