Bug 349613

Summary: No --version option for plasmashell
Product: [Plasma] plasmashell Reporter: Piotr Dobrogost <bugs.kde.org>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bhush94, plasma-bugs
Priority: NOR    
Version: 5.3.1   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Piotr Dobrogost 2015-06-26 07:33:35 UTC
plasmashell exec does not have --version option which it used to have according to the following information from user luebking (https://forum.kde.org/viewtopic.php?f=67&t=126986#p337089);
"no idea whether that's accidental or intended (this used to be added magically by KApplication, might have got lost on transition to QApplication, requires QCommandLineParser::addVersionOption();)"

Reproducible: Always

Steps to Reproduce:
plasmashell --version

Actual Results:  
Error "Unknown option 'version'."


Expected Results:  
Version of plasmashell shown.
Comment 1 Bhushan Shah 2015-06-26 07:36:22 UTC
Umm, on master branch

e42a0f06 (Bhushan Shah     2015-04-20 21:06:53 +0530) | 61      cliOptions.addVersionOption();
Comment 3 Piotr Dobrogost 2022-05-15 10:01:04 UTC
@Bhushan Shah
Returning to this after 7 years and it's nice to see you fixed it the same day :)
Thank you.