xgps -V (return code: 1)
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
Traceback (most recent call last):
File "/usr/bin/xgps", line 863, in <module>
['verbose'])
File "/usr/lib/python2.7/getopt.py", line 88, in getopt
opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
File "/usr/lib/python2.7/getopt.py", line 152, in do_longs
has_arg, opt = long_has_args(opt, longopts)
File "/usr/lib/python2.7/getopt.py", line 169, in long_has_args
raise GetoptError('option --%s not recognized' % opt, opt)
getopt.GetoptError: option --version not recognized
xgps -h (return code: 0)
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
xgps -- test client for gpsd
usage: xgps [-D level] [-hV?] [-l degmfmt] [-u units] [server[:port[:device]]]