From 19f734335519996395113c6acbde949dfc60e167 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Thu, 27 May 2010 00:17:47 +0200 Subject: Let gamma methods and location providers print help on option parameters. --- src/location-manual.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/location-manual.c') diff --git a/src/location-manual.c b/src/location-manual.c index 1eca22e..d14fe98 100644 --- a/src/location-manual.c +++ b/src/location-manual.c @@ -82,6 +82,17 @@ location_manual_free(location_manual_state_t *state) { } +void +location_manual_print_help(FILE *f) +{ + fputs(_("Specify location manually.\n"), f); + fputs("\n", f); + + fputs(_(" First argument is latitude,\n" + " second argument is longitude\n"), f); + fputs("\n", f); +} + int location_manual_get_location(location_manual_state_t *state, float *lat, float *lon) -- cgit v1.2.3-70-g09d2