After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 606757 - command line argument handling
command line argument handling
Status: RESOLVED FIXED
Product: emerillon
Classification: Other
Component: General
0.1.0
Other Linux
: Normal normal
: ---
Assigned To: emerillon-maint
emerillon-maint
Depends on:
Blocks:
 
 
Reported: 2010-01-12 16:15 UTC by chrysn
Modified: 2010-04-21 11:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description chrysn 2010-01-12 16:15:06 UTC
emerillon does not handle command line arguments as of version 0.1.0 at all (and from the news messages, didn't learn it since then).

at least --help and --version should be implemented as they are fairly standard.

furthermore, i suggest to add a way to start emerillon at a position on the map. possibilities include

--placemark=NAME -- look up a placemark name
--lat=LAT, --long=LONG -- open at given coordinates
--zoom=ZOOM -- i'm not sure what is a card source independent way to specify zoom levels
--url=URL -- parse common urls that describe places; suggestions include

* the urls that can be exported to clipboard using the plugin
* geo: urls as defined at [1] (it's not an accepted standard, but implementing it won't hurt)
* the urls from [2]

[1] http://ietfreport.isoc.org/all-ids/draft-mayrhofer-geopriv-geo-uri-01.txt
[2] http://placetime.com/geopoint/wgs84/
Comment 1 Łukasz Jernaś 2010-04-21 05:13:16 UTC
I'll split the bug into two if you don't mind, with the second one covering the new features.
Comment 2 Łukasz Jernaś 2010-04-21 11:26:37 UTC
--help and --version have been implemented in HEAD, I've moved the URI and lat/lon proposition to seperate bugs https://bugzilla.gnome.org/show_bug.cgi?id=616388 and https://bugzilla.gnome.org/show_bug.cgi?id=616389

So I'm closing this bug