Bug 467205

Summary: -v doesn't print anything if tokodon is already running
Product: [Applications] Tokodon Reporter: Hugo Osvaldo Barrera <hugo>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: carl, josh
Priority: NOR    
Version: 23.02.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hugo Osvaldo Barrera 2023-03-11 16:16:45 UTC
SUMMARY
 
tokodon --version doesn't work either.

STEPS TO REPRODUCE
1. tokodon --version or tokodon -v

OBSERVED RESULT

Nothing is printed, exit code success.


EXPECTED RESULT

The version

SOFTWARE/OS VERSIONS
Linux: Alpine
Qt Version: 5.15.8

ADDITIONAL INFORMATION

My guess is that the single-instance check kicks in before checking if --version was specified
Comment 1 Carl Schwan 2023-03-12 23:36:57 UTC
Git commit ec7565a0ee59b6e45170192d50d7b8d753b7af72 by Carl Schwan.
Committed on 12/03/2023 at 23:36.
Pushed by carlschwan into branch 'master'.

Fix -v arg not working when tokodon is already running
Signed-off-by: Carl Schwan <carl@carlschwan.eu>

M  +8    -8    src/main.cpp

https://invent.kde.org/network/tokodon/commit/ec7565a0ee59b6e45170192d50d7b8d753b7af72