Symfony Console - Overwrite default options

Viewed 1861

I'm building a CLI application for my app using Symfony Console. The application is required to do some simple package management operations to manage plugins. Therefore, I need a command option named --version with shortcut -v, which does not seem to be possible since --version is reserved for the application version and -v is reserved for the default verbosity setting.
How can I either disable the default options or overwrite them for this subcommand?

The error popping up states

[Symfony\Component\Console\Exception\LogicException] An option named "version" already exists.

1 Answers
Related