mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
hyperion-remote help screen needs "--blah" not "-blah" for the long options (#274)
This commit is contained in:
parent
2cc4cdde26
commit
c5088ffeb4
@ -29,7 +29,7 @@ int count(std::initializer_list<bool> values)
|
||||
|
||||
void showHelp(Option & option){
|
||||
QString shortOption;
|
||||
QString longOption = QString("-%1").arg(option.names().last());
|
||||
QString longOption = QString("--%1").arg(option.names().last());
|
||||
|
||||
if(option.names().size() == 2){
|
||||
shortOption = QString("-%1").arg(option.names().first());
|
||||
|
Loading…
Reference in New Issue
Block a user