--version switch seems to not work when Phosh is already running
I tried --version
on what I think is Phosh 0.24.0 and I got this:
$ /usr/libexec/phosh --help
Usage:
phosh [OPTION…] - A phone graphical shell
Help Options:
-h, --help Show help options
--help-all Show all help options
--help-gtk Show GTK+ Options
Application Options:
-U, --unlocked Don't start with screen locked
-L, --locked Start with screen locked, no matter what
--version Show version information
--display=DISPLAY X display to use
$ /usr/libexec/phosh --version
Unable to init server: Could not connect: Connection refused
(phosh:7098): phosh-main-WARNING **: 11:22:28.373: Cannot open display:
$
I assume this is maybe because another instance is already running, but I don't see why a simple --version
flag should care about that.
Edited by Guido Günther