sm00thslp / hedgewars

Automatically exported from code.google.com/p/hedgewars
GNU General Public License v2.0
0 stars 0 forks source link

please provide "--help" to CLI #820

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Would be nice to have a --help in hw.
moreover, 
hedgewars -style Oxygen
hedgewars -style Christmas

seems to have no effect

(taken from debian bug report 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760776 )

Original issue reported on code.google.com by gianfran...@abinsula.com on 8 Sep 2014 at 7:14

GoogleCodeExporter commented 9 years ago
After https://code.google.com/p/hedgewars/source/detail?r=469ce70ba163# this 
should be fixed, however:

man hedgewars:
"OPTIONS
       -style name
              sets Qt GUI Style (qtconfig names). Example: -style Oxygen

"

Original comment by gianfran...@abinsula.com on 9 Sep 2014 at 6:54

GoogleCodeExporter commented 9 years ago
<@sheepluva> I think we override it in the code at some point
<@sheepluva> main.cpp
<@sheepluva> 23:#include <QPlastiqueStyle>
<@sheepluva> 250:    app.setStyle(new QPlastiqueStyle());
<@sheepluva> LocutusOfBorg1: so you're right. using -style has currently no 
effect whatsoever

I'll update the man page accordingly

Original comment by sheepyluva on 9 Sep 2014 at 8:26

GoogleCodeExporter commented 9 years ago
Fixed in r0972bf43e8fc81843e23c6d4698cdc432309946c (and the 2 commits before)

Original comment by sheepyluva on 9 Sep 2014 at 9:18