From 590f2c5ae242ae9a67b18f5c34b31319e9debd76 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 8 Dec 2010 10:26:58 +0100 Subject: [PATCH] help of commands more understandable (refs #445) --- weboob/applications/wetboobs/wetboobs.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/weboob/applications/wetboobs/wetboobs.py b/weboob/applications/wetboobs/wetboobs.py index 8d6b989b..d80507c2 100644 --- a/weboob/applications/wetboobs/wetboobs.py +++ b/weboob/applications/wetboobs/wetboobs.py @@ -119,9 +119,10 @@ class WetBoobs(ReplApplication): def do_current(self, line): """ - current CITY + current CITY_ID - Get current weather. + Get current weather for specified city. Use the 'search' command to find + its ID. """ city, = self.parseargs(line, 1, 1) _id, backend_name = self.parse_id(city) @@ -137,9 +138,10 @@ class WetBoobs(ReplApplication): def do_forecasts(self, line): """ - forecasts CITY + forecasts CITY_ID - Get forecasts. + Get forecasts for specified city. Use the 'search' command to find + its ID. """ city, = self.parseargs(line, 1, 1) _id, backend_name = self.parse_id(city)