Closed ffes closed 1 week ago
@ffes The --version
option was removed in v24.
@JanDeDobbeleer The --version
option seems to be a convention for many CLI tools. Should we restore it?
@lewis-yeung I was about to. It depends on the CLI tool. I don't agree with --version
myself as from an interface point of view, you request something. It's not a parameter. That said, I don't care enough to stop us from adding it again 🙃
Code of Conduct
What would you like to see changed?
At the moment to show the current version of oh-my-posh you need to type
oh-my-posh version
, but for some reason (probably because that works almost always with other tools) I keep typingoh-my-posh --version
, get an error and use the right command. Therefore it would be really nice if--version
would work as well.Note that for
oh-my-posh help
andoh-my-posh --help
output the same, so why not foroh-my-posh version
andoh-my-posh --version
.