From ae06ae3384f20ad3c97a043bbebcfe44f45d5e94 Mon Sep 17 00:00:00 2001 From: Laurent Bachelier Date: Wed, 13 Feb 2013 00:38:33 +0100 Subject: [PATCH] Add missing "whatis entry" to man pages This is recommended by Debian. closes #618 --- man/boobank.1 | 16 +++++++----- man/boobathon.1 | 10 +++---- man/boobill.1 | 10 +++---- man/boobmsg.1 | 10 +++---- man/boobooks.1 | 10 +++---- man/boobtracker.1 | 12 ++++----- man/comparoob.1 | 10 +++---- man/flatboob.1 | 12 ++++----- man/galleroob.1 | 10 +++---- man/geolooc.1 | 10 +++---- man/havedate.1 | 10 +++---- man/masstransit.1 | 15 +++++++++-- man/monboob.1 | 10 +++---- man/pastoob.1 | 23 +++++++++++----- man/qboobmsg.1 | 10 +++---- man/qflatboob.1 | 12 ++++----- man/qhavedate.1 | 10 +++---- man/qvideoob.1 | 10 +++++-- man/qwebcontentedit.1 | 12 ++++----- man/radioob.1 | 10 +++---- man/translaboob.1 | 10 +++---- man/traveloob.1 | 10 +++---- man/videoob.1 | 10 +++---- man/webcontentedit.1 | 10 +++---- man/weboob-cli.1 | 10 +++---- man/weboob-config-qt.1 | 10 +++---- man/weboob-config.1 | 10 +++---- man/weboob-debug.1 | 10 +++---- man/weboob-repos.1 | 10 +++---- man/weboorrents.1 | 10 +++---- man/wetboobs.1 | 10 +++---- tools/make_man.py | 15 +++++------ weboob/applications/boobank/boobank.py | 1 + weboob/applications/boobathon/boobathon.py | 1 + weboob/applications/boobill/boobill.py | 1 + weboob/applications/boobmsg/boobmsg.py | 1 + weboob/applications/boobooks/boobooks.py | 4 ++- .../applications/boobtracker/boobtracker.py | 9 ++++--- weboob/applications/comparoob/comparoob.py | 5 ++-- weboob/applications/flatboob/flatboob.py | 6 +++-- weboob/applications/galleroob/galleroob.py | 1 + weboob/applications/geolooc/geolooc.py | 3 ++- weboob/applications/havedate/havedate.py | 6 +++-- .../applications/masstransit/masstransit.py | 2 ++ weboob/applications/monboob/monboob.py | 5 +++- weboob/applications/pastoob/pastoob.py | 5 ++-- weboob/applications/qboobmsg/qboobmsg.py | 4 ++- weboob/applications/qflatboob/qflatboob.py | 4 ++- weboob/applications/qhavedate/qhavedate.py | 3 ++- weboob/applications/qvideoob/qvideoob.py | 4 ++- weboob/applications/qvideoob/video.py | 2 +- .../qwebcontentedit/qwebcontentedit.py | 3 ++- weboob/applications/qweboobcfg/qweboobcfg.py | 1 + weboob/applications/radioob/radioob.py | 6 ++--- .../applications/translaboob/translaboob.py | 26 ++++++++++--------- weboob/applications/traveloob/traveloob.py | 3 ++- weboob/applications/videoob/videoob.py | 5 ++-- .../webcontentedit/webcontentedit.py | 3 ++- weboob/applications/weboobcfg/weboobcfg.py | 6 ++--- weboob/applications/weboobcli/weboobcli.py | 1 + .../applications/weboobdebug/weboobdebug.py | 1 + .../applications/weboobrepos/weboobrepos.py | 1 + .../applications/weboorrents/weboorrents.py | 11 ++++---- weboob/applications/wetboobs/wetboobs.py | 6 ++++- 64 files changed, 284 insertions(+), 213 deletions(-) diff --git a/man/boobank.1 b/man/boobank.1 index 319af71214..129d694eae 100644 --- a/man/boobank.1 +++ b/man/boobank.1 @@ -1,6 +1,6 @@ -.TH BOOBANK 1 "25 janvier 2013" "boobank 0\&.e" +.TH BOOBANK 1 "13 February 2013" "boobank 0\&.f" .SH NAME -boobank +boobank \- manage bank accounts .SH SYNOPSIS .B boobank [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -42,9 +42,9 @@ Console application allowing to list your bank accounts and get their balance, d .br * creditcooperatif (Credit Cooperatif French bank website) .br -* creditmutuel (Crédit Mutuel French bank website) +* creditdunord (Crédit du Nord French bank website) .br -* db (Un truc nul pour faire marcher boobank) +* creditmutuel (Crédit Mutuel French bank website) .br * fortuneo (Fortuneo French bank website) .br @@ -56,6 +56,8 @@ Console application allowing to list your bank accounts and get their balance, d .br * lcl (Le Crédit Lyonnais French bank website) .br +* paypal (PayPal money transfer website) +.br * societegenerale (Société Générale French bank website) .SH BOOBANK COMMANDS .TP @@ -227,6 +229,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -244,9 +249,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/boobathon.1 b/man/boobathon.1 index ea08643600..e396268fef 100644 --- a/man/boobathon.1 +++ b/man/boobathon.1 @@ -1,6 +1,6 @@ -.TH BOOBATHON 1 "25 janvier 2013" "boobathon 0\&.e" +.TH BOOBATHON 1 "13 February 2013" "boobathon 0\&.f" .SH NAME -boobathon +boobathon \- participate in a Boobathon .SH SYNOPSIS .B boobathon [\-dqv] [\-b \fIbackends\fR] [\-cnfs] \fIboobathon\fR @@ -213,6 +213,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -230,9 +233,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/boobill.1 b/man/boobill.1 index 3fd68cee6f..acdcf72b2e 100644 --- a/man/boobill.1 +++ b/man/boobill.1 @@ -1,6 +1,6 @@ -.TH BOOBILL 1 "25 janvier 2013" "boobill 0\&.e" +.TH BOOBILL 1 "13 February 2013" "boobill 0\&.f" .SH NAME -boobill +boobill \- get and download bills .SH SYNOPSIS .B boobill [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -211,6 +211,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -228,9 +231,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/boobmsg.1 b/man/boobmsg.1 index fe229162e1..8f1a491897 100644 --- a/man/boobmsg.1 +++ b/man/boobmsg.1 @@ -1,6 +1,6 @@ -.TH BOOBMSG 1 "25 janvier 2013" "boobmsg 0\&.e" +.TH BOOBMSG 1 "13 February 2013" "boobmsg 0\&.f" .SH NAME -boobmsg +boobmsg \- send and receive message threads .SH SYNOPSIS .B boobmsg [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -225,6 +225,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH BOOBMSG OPTIONS .TP @@ -250,9 +253,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/boobooks.1 b/man/boobooks.1 index 6bc1b8d6fc..a797707986 100644 --- a/man/boobooks.1 +++ b/man/boobooks.1 @@ -1,6 +1,6 @@ -.TH BOOBOOKS 1 "25 janvier 2013" "boobooks 0\&.e" +.TH BOOBOOKS 1 "13 February 2013" "boobooks 0\&.f" .SH NAME -boobooks +boobooks \- manage rented books .SH SYNOPSIS .B boobooks [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -161,6 +161,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -178,9 +181,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/boobtracker.1 b/man/boobtracker.1 index 5e0aa600bb..d8efa48f27 100644 --- a/man/boobtracker.1 +++ b/man/boobtracker.1 @@ -1,6 +1,6 @@ -.TH BOOBTRACKER 1 "25 janvier 2013" "boobtracker 0\&.e" +.TH BOOBTRACKER 1 "13 February 2013" "boobtracker 0\&.f" .SH NAME -boobtracker +boobtracker \- manage bug tracking issues .SH SYNOPSIS .B boobtracker [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -11,7 +11,7 @@ boobtracker .SH DESCRIPTION .LP -Console application allowing to send messages on various websites and to display message threads and contents. +Console application allowing to create, edit, view bug tracking issues. .SS Supported websites: * redmine (The Redmine project management web application) @@ -229,6 +229,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH BOOBTRACKER OPTIONS .TP @@ -260,9 +263,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/comparoob.1 b/man/comparoob.1 index 8134e8e52e..e5a0f1e9db 100644 --- a/man/comparoob.1 +++ b/man/comparoob.1 @@ -1,6 +1,6 @@ -.TH COMPAROOB 1 "25 janvier 2013" "comparoob 0\&.e" +.TH COMPAROOB 1 "13 February 2013" "comparoob 0\&.f" .SH NAME -comparoob +comparoob \- compare products .SH SYNOPSIS .B comparoob [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -159,6 +159,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -176,9 +179,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/flatboob.1 b/man/flatboob.1 index d589a31c12..e52aacc8f8 100644 --- a/man/flatboob.1 +++ b/man/flatboob.1 @@ -1,6 +1,6 @@ -.TH FLATBOOB 1 "25 janvier 2013" "flatboob 0\&.e" +.TH FLATBOOB 1 "13 February 2013" "flatboob 0\&.f" .SH NAME -flatboob +flatboob \- search for housing .SH SYNOPSIS .B flatboob [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -11,7 +11,7 @@ flatboob .SH DESCRIPTION .LP -Console application to search a house. +Console application to search for housing. .SS Supported websites: * pap (French housing website) @@ -161,6 +161,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -178,9 +181,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/galleroob.1 b/man/galleroob.1 index af2380a16b..ace5745e80 100644 --- a/man/galleroob.1 +++ b/man/galleroob.1 @@ -1,6 +1,6 @@ -.TH GALLEROOB 1 "25 janvier 2013" "galleroob 0\&.e" +.TH GALLEROOB 1 "13 February 2013" "galleroob 0\&.f" .SH NAME -galleroob +galleroob \- browse and download web image galleries .SH SYNOPSIS .B galleroob [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -187,6 +187,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -204,9 +207,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/geolooc.1 b/man/geolooc.1 index 16b16199be..0658619bd8 100644 --- a/man/geolooc.1 +++ b/man/geolooc.1 @@ -1,6 +1,6 @@ -.TH GEOLOOC 1 "25 janvier 2013" "geolooc 0\&.e" +.TH GEOLOOC 1 "13 February 2013" "geolooc 0\&.f" .SH NAME -geolooc +geolooc \- geolocalize IP addresses .SH SYNOPSIS .B geolooc [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -156,6 +156,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -173,9 +176,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/havedate.1 b/man/havedate.1 index 0d87cf12fb..633c5d4390 100644 --- a/man/havedate.1 +++ b/man/havedate.1 @@ -1,6 +1,6 @@ -.TH HAVEDATE 1 "25 janvier 2013" "havedate 0\&.e" +.TH HAVEDATE 1 "13 February 2013" "havedate 0\&.f" .SH NAME -havedate +havedate \- interact with dating websites .SH SYNOPSIS .B havedate [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -221,6 +221,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH HAVEDATE OPTIONS .TP @@ -246,9 +249,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/masstransit.1 b/man/masstransit.1 index 3c5e496247..826bd7e68b 100644 --- a/man/masstransit.1 +++ b/man/masstransit.1 @@ -1,6 +1,6 @@ -.TH MASSTRANSIT 1 "28 October 2012" "masstransit 0\&.d" +.TH MASSTRANSIT 1 "13 February 2013" "masstransit 0\&.f" .SH NAME -masstransit +masstransit \- search for train stations and departures .SH SYNOPSIS .B masstransit [\-h] [\-dqv] [\-b \fIbackends\fR] ... @@ -8,6 +8,11 @@ masstransit .B masstransit [\-\-help] [\-\-version] +.SH DESCRIPTION +.LP + +Maemo application allowing to search for train stations and get departure times. + .SH OPTIONS .TP \fB\-\-version\fR @@ -18,6 +23,12 @@ show this help message and exit .TP \fB\-b BACKENDS\fR, \fB\-\-backends=BACKENDS\fR what backend(s) to enable (comma separated) +.TP +\fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR +what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP diff --git a/man/monboob.1 b/man/monboob.1 index 8e0cbef028..f69d3a9c61 100644 --- a/man/monboob.1 +++ b/man/monboob.1 @@ -1,6 +1,6 @@ -.TH MONBOOB 1 "25 janvier 2013" "monboob 0\&.e" +.TH MONBOOB 1 "13 February 2013" "monboob 0\&.f" .SH NAME -monboob +monboob \- daemon to send and check messages .SH SYNOPSIS .B monboob [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -74,6 +74,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH MONBOOB OPTIONS .TP @@ -96,9 +99,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/pastoob.1 b/man/pastoob.1 index 6e018acd9c..4dbca535d8 100644 --- a/man/pastoob.1 +++ b/man/pastoob.1 @@ -1,6 +1,6 @@ -.TH PASTOOB 1 "25 janvier 2013" "pastoob 0\&.e" +.TH PASTOOB 1 "13 February 2013" "pastoob 0\&.f" .SH NAME -pastoob +pastoob \- post and get pastes from pastebins .SH SYNOPSIS .B pastoob [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -167,6 +167,20 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL + +.SH PASTOOB OPTIONS +.TP +\fB\-p\fR, \fB\-\-public\fR +Make paste public. +.TP +\fB\-t TITLE\fR, \fB\-\-title=TITLE\fR +Paste title +.TP +\fB\-m MAX_AGE\fR, \fB\-\-max\-age=MAX_AGE\fR +Maximum age (duration), default "1 month" .SH LOGGING OPTIONS .TP @@ -184,9 +198,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP @@ -214,7 +225,7 @@ do not display item keys file to export result .SH COPYRIGHT -Copyright(C) 2011 Laurent Bachelier +Copyright(C) 2011-2013 Laurent Bachelier .LP For full COPYRIGHT see COPYING file with weboob package. .LP diff --git a/man/qboobmsg.1 b/man/qboobmsg.1 index b728008a87..576a37cec3 100644 --- a/man/qboobmsg.1 +++ b/man/qboobmsg.1 @@ -1,6 +1,6 @@ -.TH QBOOBMSG 1 "25 janvier 2013" "qboobmsg 0\&.e" +.TH QBOOBMSG 1 "13 February 2013" "qboobmsg 0\&.f" .SH NAME -qboobmsg +qboobmsg \- send and receive message threads .SH SYNOPSIS .B qboobmsg [\-h] [\-dqv] [\-b \fIbackends\fR] ... @@ -60,6 +60,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -77,9 +80,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH COPYRIGHT Copyright(C) 2010-2011 Romain Bignon diff --git a/man/qflatboob.1 b/man/qflatboob.1 index 0d99badece..d6ab15460d 100644 --- a/man/qflatboob.1 +++ b/man/qflatboob.1 @@ -1,6 +1,6 @@ -.TH QFLATBOOB 1 "25 janvier 2013" "qflatboob 0\&.e" +.TH QFLATBOOB 1 "13 February 2013" "qflatboob 0\&.f" .SH NAME -qflatboob +qflatboob \- search for housing .SH SYNOPSIS .B qflatboob [\-h] [\-dqv] [\-b \fIbackends\fR] ... @@ -11,7 +11,7 @@ qflatboob .SH DESCRIPTION .LP -Qt application to find housings. +Qt application to search for housing. .SS Supported websites: * pap (French housing website) @@ -30,6 +30,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -47,9 +50,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH COPYRIGHT Copyright(C) 2010-2012 Romain Bignon diff --git a/man/qhavedate.1 b/man/qhavedate.1 index 82bc711ca0..b122cab771 100644 --- a/man/qhavedate.1 +++ b/man/qhavedate.1 @@ -1,6 +1,6 @@ -.TH QHAVEDATE 1 "25 janvier 2013" "qhavedate 0\&.e" +.TH QHAVEDATE 1 "13 February 2013" "qhavedate 0\&.f" .SH NAME -qhavedate +qhavedate \- interact with dating websites .SH SYNOPSIS .B qhavedate [\-h] [\-dqv] [\-b \fIbackends\fR] ... @@ -28,6 +28,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -45,9 +48,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH COPYRIGHT Copyright(C) 2010-2012 Romain Bignon diff --git a/man/qvideoob.1 b/man/qvideoob.1 index 4c55d0b4d4..9146d533dc 100644 --- a/man/qvideoob.1 +++ b/man/qvideoob.1 @@ -1,6 +1,6 @@ -.TH QVIDEOOB 1 "28 October 2012" "qvideoob 0\&.d" +.TH QVIDEOOB 1 "13 February 2013" "qvideoob 0\&.f" .SH NAME -qvideoob +qvideoob \- search and play videos .SH SYNOPSIS .B qvideoob [\-h] [\-dqv] [\-b \fIbackends\fR] ... @@ -53,6 +53,12 @@ show this help message and exit .TP \fB\-b BACKENDS\fR, \fB\-\-backends=BACKENDS\fR what backend(s) to enable (comma separated) +.TP +\fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR +what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP diff --git a/man/qwebcontentedit.1 b/man/qwebcontentedit.1 index 41a03da609..f2cb0a8b0e 100644 --- a/man/qwebcontentedit.1 +++ b/man/qwebcontentedit.1 @@ -1,6 +1,6 @@ -.TH QWEBCONTENTEDIT 1 "25 janvier 2013" "qwebcontentedit 0\&.e" +.TH QWEBCONTENTEDIT 1 "13 February 2013" "qwebcontentedit 0\&.f" .SH NAME -qwebcontentedit +qwebcontentedit \- manage websites content .SH SYNOPSIS .B qwebcontentedit [\-h] [\-dqv] [\-b \fIbackends\fR] ... @@ -11,7 +11,7 @@ qwebcontentedit .SH DESCRIPTION .LP -Qt application allowing to manage contents of various websites. +Qt application allowing to manage content of various websites. .SS Supported websites: * dlfp (Da Linux French Page news website) @@ -32,6 +32,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -49,9 +52,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH COPYRIGHT Copyright(C) 2011 Clément Schreiner diff --git a/man/radioob.1 b/man/radioob.1 index c78cd2a1c9..960cc0635b 100644 --- a/man/radioob.1 +++ b/man/radioob.1 @@ -1,6 +1,6 @@ -.TH RADIOOB 1 "25 janvier 2013" "radioob 0\&.e" +.TH RADIOOB 1 "13 February 2013" "radioob 0\&.f" .SH NAME -radioob +radioob \- search, show or listen to radio stations .SH SYNOPSIS .B radioob [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -173,6 +173,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -190,9 +193,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/translaboob.1 b/man/translaboob.1 index 8841c69e29..20616a95c5 100644 --- a/man/translaboob.1 +++ b/man/translaboob.1 @@ -1,6 +1,6 @@ -.TH TRANSLABOOB 1 "25 janvier 2013" "translaboob 0\&.e" +.TH TRANSLABOOB 1 "13 February 2013" "translaboob 0\&.f" .SH NAME -translaboob +translaboob \- translate text from one language to another .SH SYNOPSIS .B translaboob [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -209,6 +209,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -226,9 +229,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/traveloob.1 b/man/traveloob.1 index 545ef076dc..c3be29d59b 100644 --- a/man/traveloob.1 +++ b/man/traveloob.1 @@ -1,6 +1,6 @@ -.TH TRAVELOOB 1 "25 janvier 2013" "traveloob 0\&.e" +.TH TRAVELOOB 1 "13 February 2013" "traveloob 0\&.f" .SH NAME -traveloob +traveloob \- search for train stations and departures .SH SYNOPSIS .B traveloob [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -187,6 +187,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH TRAVELOOB OPTIONS .TP @@ -210,9 +213,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/videoob.1 b/man/videoob.1 index d2b9fd67d1..492092930a 100644 --- a/man/videoob.1 +++ b/man/videoob.1 @@ -1,6 +1,6 @@ -.TH VIDEOOB 1 "25 janvier 2013" "videoob 0\&.e" +.TH VIDEOOB 1 "13 February 2013" "videoob 0\&.f" .SH NAME -videoob +videoob \- search and play videos .SH SYNOPSIS .B videoob [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -207,6 +207,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -224,9 +227,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/webcontentedit.1 b/man/webcontentedit.1 index fdef5d59a3..66a76d4de2 100644 --- a/man/webcontentedit.1 +++ b/man/webcontentedit.1 @@ -1,6 +1,6 @@ -.TH WEBCONTENTEDIT 1 "25 janvier 2013" "webcontentedit 0\&.e" +.TH WEBCONTENTEDIT 1 "13 February 2013" "webcontentedit 0\&.f" .SH NAME -webcontentedit +webcontentedit \- manage websites content .SH SYNOPSIS .B webcontentedit [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -167,6 +167,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -184,9 +187,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/weboob-cli.1 b/man/weboob-cli.1 index 78a40c6dc2..a43a35261b 100644 --- a/man/weboob-cli.1 +++ b/man/weboob-cli.1 @@ -1,6 +1,6 @@ -.TH WEBOOB-CLI 1 "25 janvier 2013" "weboob-cli 0\&.e" +.TH WEBOOB-CLI 1 "13 February 2013" "weboob-cli 0\&.f" .SH NAME -weboob-cli +weboob-cli \- call a method on backends .SH SYNOPSIS .B weboob\-cli [\-dqv] [\-b \fIbackends\fR] [\-cnfs] \fIcapability\fR \fImethod\fR [\fIarguments\fR..] @@ -27,6 +27,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -44,9 +47,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/weboob-config-qt.1 b/man/weboob-config-qt.1 index b835cb2c53..06b49f210b 100644 --- a/man/weboob-config-qt.1 +++ b/man/weboob-config-qt.1 @@ -1,6 +1,6 @@ -.TH WEBOOB-CONFIG-QT 1 "25 janvier 2013" "weboob-config-qt 0\&.e" +.TH WEBOOB-CONFIG-QT 1 "13 February 2013" "weboob-config-qt 0\&.f" .SH NAME -weboob-config-qt +weboob-config-qt \- manage backends or register new accounts .SH SYNOPSIS .B weboob\-config\-qt [\-h] [\-dqv] [\-b \fIbackends\fR] ... @@ -26,6 +26,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -43,9 +46,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH COPYRIGHT Copyright(C) 2010-2011 Romain Bignon diff --git a/man/weboob-config.1 b/man/weboob-config.1 index 9071ac8f9e..23295422f8 100644 --- a/man/weboob-config.1 +++ b/man/weboob-config.1 @@ -1,6 +1,6 @@ -.TH WEBOOB-CONFIG 1 "25 janvier 2013" "weboob-config 0\&.e" +.TH WEBOOB-CONFIG 1 "13 February 2013" "weboob-config 0\&.f" .SH NAME -weboob-config +weboob-config \- manage backends or register new accounts .SH SYNOPSIS .B weboob\-config [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -110,6 +110,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -127,9 +130,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/weboob-debug.1 b/man/weboob-debug.1 index 5e13b42c71..5919eecf81 100644 --- a/man/weboob-debug.1 +++ b/man/weboob-debug.1 @@ -1,6 +1,6 @@ -.TH WEBOOB-DEBUG 1 "25 janvier 2013" "weboob-debug 0\&.e" +.TH WEBOOB-DEBUG 1 "13 February 2013" "weboob-debug 0\&.f" .SH NAME -weboob-debug +weboob-debug \- debug backends .SH SYNOPSIS .B weboob\-debug [\-h] [\-dqv] [\-b \fIbackends\fR] ... @@ -26,6 +26,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -43,9 +46,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH WEBOOB\-DEBUG OPTIONS .TP diff --git a/man/weboob-repos.1 b/man/weboob-repos.1 index 35dda509e0..6e0c335bde 100644 --- a/man/weboob-repos.1 +++ b/man/weboob-repos.1 @@ -1,6 +1,6 @@ -.TH WEBOOB-REPOS 1 "25 janvier 2013" "weboob-repos 0\&.e" +.TH WEBOOB-REPOS 1 "13 February 2013" "weboob-repos 0\&.f" .SH NAME -weboob-repos +weboob-repos \- manage a weboob repository .SH SYNOPSIS .B weboob\-repos [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -70,6 +70,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -87,9 +90,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/weboorrents.1 b/man/weboorrents.1 index 3dd25209a5..024892782c 100644 --- a/man/weboorrents.1 +++ b/man/weboorrents.1 @@ -1,6 +1,6 @@ -.TH WEBOORRENTS 1 "25 janvier 2013" "weboorrents 0\&.e" +.TH WEBOORRENTS 1 "13 February 2013" "weboorrents 0\&.f" .SH NAME -weboorrents +weboorrents \- search and download torrents .SH SYNOPSIS .B weboorrents [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -177,6 +177,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -194,9 +197,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/man/wetboobs.1 b/man/wetboobs.1 index db37479612..15498f1d0a 100644 --- a/man/wetboobs.1 +++ b/man/wetboobs.1 @@ -1,6 +1,6 @@ -.TH WETBOOBS 1 "25 janvier 2013" "wetboobs 0\&.e" +.TH WETBOOBS 1 "13 February 2013" "wetboobs 0\&.f" .SH NAME -wetboobs +wetboobs \- display weather and forecasts .SH SYNOPSIS .B wetboobs [\-dqv] [\-b \fIbackends\fR] [\-cnfs] [\fIcommand\fR [\fIarguments\fR..]] @@ -181,6 +181,9 @@ what backend(s) to enable (comma separated) .TP \fB\-e EXCLUDE_BACKENDS\fR, \fB\-\-exclude\-backends=EXCLUDE_BACKENDS\fR what backend(s) to exclude (comma separated) +.TP +\fB\-I\fR, \fB\-\-insecure\fR +do not validate SSL .SH LOGGING OPTIONS .TP @@ -198,9 +201,6 @@ file to save logs .TP \fB\-a\fR, \fB\-\-save\-responses\fR save every response -.TP -\fB\-I\fR, \fB\-\-insecure\fR -do not validate SSL .SH RESULTS OPTIONS .TP diff --git a/tools/make_man.py b/tools/make_man.py index 6417262d7f..77b6a26b14 100755 --- a/tools/make_man.py +++ b/tools/make_man.py @@ -37,11 +37,11 @@ class ManpageHelpFormatter(optparse.HelpFormatter): def __init__(self, - app, - indent_increment=0, - max_help_position=0, - width=80, - short_first=1): + app, + indent_increment=0, + max_help_position=0, + width=80, + short_first=1): optparse.HelpFormatter.__init__(self, indent_increment, max_help_position, width, short_first) self.app = app @@ -113,8 +113,7 @@ def main(): if os.path.isfile(fpath) and os.access(fpath, os.X_OK): with open(fpath) as f: # Python will likely want create a compiled file, we provide a place - tmpdir = os.path.join(tempfile.gettempdir(), \ - "weboob", "make_man") + tmpdir = os.path.join(tempfile.gettempdir(), "weboob", "make_man") if not os.path.isdir(tmpdir): os.makedirs(tmpdir) tmpfile = os.path.join(tmpdir, fname) @@ -164,7 +163,7 @@ def analyze_application(app, script_name): helptext = helptext.replace("-", r"\-") header = '.TH %s 1 "%s" "%s %s"' % (script_name.upper(), time.strftime("%d %B %Y"), script_name, app.VERSION.replace('.', '\\&.')) - name = ".SH NAME\n%s" % script_name + name = ".SH NAME\n%s \- %s" % (script_name, application.SHORT_DESCRIPTION) footer = """.SH COPYRIGHT %s .LP diff --git a/weboob/applications/boobank/boobank.py b/weboob/applications/boobank/boobank.py index b290d97006..0a8843bb63 100644 --- a/weboob/applications/boobank/boobank.py +++ b/weboob/applications/boobank/boobank.py @@ -159,6 +159,7 @@ class Boobank(ReplApplication): DESCRIPTION = "Console application allowing to list your bank accounts and get their balance, " \ "display accounts history and coming bank operations, and transfer money from an account to " \ "another (if available)." + SHORT_DESCRIPTION = "manage bank accounts" EXTRA_FORMATTERS = {'account_list': AccountListFormatter, 'recipient_list': RecipientListFormatter, 'transfer': TransferFormatter, diff --git a/weboob/applications/boobathon/boobathon.py b/weboob/applications/boobathon/boobathon.py index 5d3796a61c..4629a74003 100644 --- a/weboob/applications/boobathon/boobathon.py +++ b/weboob/applications/boobathon/boobathon.py @@ -277,6 +277,7 @@ class Boobathon(ReplApplication): VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2011 Romain Bignon' DESCRIPTION = 'Console application to participate to a Boobathon.' + SHORT_DESCRIPTION = "participate in a Boobathon" CAPS = ICapContent SYNOPSIS = 'Usage: %prog [-dqv] [-b backends] [-cnfs] boobathon\n' SYNOPSIS += ' %prog [--help] [--version]' diff --git a/weboob/applications/boobill/boobill.py b/weboob/applications/boobill/boobill.py index f72ac2c4fe..01862fd434 100644 --- a/weboob/applications/boobill/boobill.py +++ b/weboob/applications/boobill/boobill.py @@ -43,6 +43,7 @@ class Boobill(ReplApplication): VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2012 Florent Fourcot' DESCRIPTION = 'Console application allowing to get and download bills.' + SHORT_DESCRIPTION = "get and download bills" CAPS = ICapBill COLLECTION_OBJECTS = (Subscription, ) EXTRA_FORMATTERS = {'subscriptions': SubscriptionsFormatter, diff --git a/weboob/applications/boobmsg/boobmsg.py b/weboob/applications/boobmsg/boobmsg.py index 561e69bcfe..10d3241a63 100644 --- a/weboob/applications/boobmsg/boobmsg.py +++ b/weboob/applications/boobmsg/boobmsg.py @@ -271,6 +271,7 @@ class Boobmsg(ReplApplication): COPYRIGHT = 'Copyright(C) 2010-2011 Christophe Benz' DESCRIPTION = "Console application allowing to send messages on various websites and " \ "to display message threads and contents." + SHORT_DESCRIPTION = "send and receive message threads" CAPS = ICapMessages EXTRA_FORMATTERS = {'msglist': MessagesListFormatter, 'msg': MessageFormatter, diff --git a/weboob/applications/boobooks/boobooks.py b/weboob/applications/boobooks/boobooks.py index 0f8de68450..21aa3c650b 100644 --- a/weboob/applications/boobooks/boobooks.py +++ b/weboob/applications/boobooks/boobooks.py @@ -28,7 +28,7 @@ class RentedListFormatter(PrettyFormatter): MANDATORY_FIELDS = ('id', 'date', 'author', 'name', 'late') - RED = '' + RED = '' def get_title(self, obj): s = u'%s — %s (%s)' % (obj.author, obj.name, obj.date) @@ -36,6 +36,7 @@ def get_title(self, obj): s += u' %sLATE!%s' % (self.RED, self.NC) return s + class Boobooks(ReplApplication): APPNAME = 'boobooks' VERSION = '0.f' @@ -43,6 +44,7 @@ class Boobooks(ReplApplication): CAPS = ICapBook DESCRIPTION = "Console application allowing to list your books rented or booked at the library, " \ "book and search new ones, get your booking history (if available)." + SHORT_DESCRIPTION = "manage rented books" EXTRA_FORMATTERS = {'rented_list': RentedListFormatter, } DEFAULT_FORMATTER = 'table' diff --git a/weboob/applications/boobtracker/boobtracker.py b/weboob/applications/boobtracker/boobtracker.py index 6c471ad29e..c6819b8a7b 100644 --- a/weboob/applications/boobtracker/boobtracker.py +++ b/weboob/applications/boobtracker/boobtracker.py @@ -59,6 +59,7 @@ def format_obj(self, obj, alias): result += html2text(u.message) return result + class IssuesListFormatter(PrettyFormatter): MANDATORY_FIELDS = ('id', 'project', 'status', 'title', 'category') @@ -73,8 +74,8 @@ class BoobTracker(ReplApplication): APPNAME = 'boobtracker' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2011 Romain Bignon' - DESCRIPTION = "Console application allowing to send messages on various websites and " \ - "to display message threads and contents." + DESCRIPTION = "Console application allowing to create, edit, view bug tracking issues." + SHORT_DESCRIPTION = "manage bug tracking issues" CAPS = ICapBugTracker EXTRA_FORMATTERS = {'issue_info': IssueFormatter, 'issues_list': IssuesListFormatter, @@ -151,7 +152,7 @@ def do_get(self, line): issue = self.get_object(line, 'get_issue') if not issue: - print >>sys.stderr, 'Issue not found: %s' % line + print >>sys.stderr, 'Issue not found: %s' % line return 3 self.format(issue) self.flush() @@ -335,7 +336,7 @@ def do_edit(self, line): _id, key, value = self.parse_command_args(line, 3, 1) issue = self.get_object(_id, 'get_issue') if not issue: - print >>sys.stderr, 'Issue not found: %s' % _id + print >>sys.stderr, 'Issue not found: %s' % _id return 3 self.prompt_issue(issue, key, value) diff --git a/weboob/applications/comparoob/comparoob.py b/weboob/applications/comparoob/comparoob.py index e8712032e9..15d537b301 100644 --- a/weboob/applications/comparoob/comparoob.py +++ b/weboob/applications/comparoob/comparoob.py @@ -79,7 +79,8 @@ class Comparoob(ReplApplication): APPNAME = 'comparoob' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2012 Romain Bignon' - DESCRIPTION = 'Console application to compare products.' + DESCRIPTION = "Console application to compare products." + SHORT_DESCRIPTION = "compare products" DEFAULT_FORMATTER = 'table' EXTRA_FORMATTERS = {'prices': PricesFormatter, 'price': PriceFormatter, @@ -141,7 +142,7 @@ def do_info(self, _id): price = self.get_object(_id, 'get_price') if not price: - print >>sys.stderr, 'Price not found: %s' % _id + print >>sys.stderr, 'Price not found: %s' % _id return 3 self.start_format() diff --git a/weboob/applications/flatboob/flatboob.py b/weboob/applications/flatboob/flatboob.py index cf55d4efac..3f6773e9d3 100644 --- a/weboob/applications/flatboob/flatboob.py +++ b/weboob/applications/flatboob/flatboob.py @@ -58,6 +58,7 @@ def format_obj(self, obj, alias): result += ' %s: %s\n' % (key, value) return result + class HousingListFormatter(PrettyFormatter): MANDATORY_FIELDS = ('id', 'title', 'cost', 'text') @@ -76,7 +77,8 @@ class Flatboob(ReplApplication): APPNAME = 'flatboob' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2012 Romain Bignon' - DESCRIPTION = 'Console application to search a house.' + DESCRIPTION = "Console application to search for housing." + SHORT_DESCRIPTION = "search for housing" CAPS = ICapHousing EXTRA_FORMATTERS = {'housing_list': HousingListFormatter, 'housing': HousingFormatter, @@ -160,7 +162,7 @@ def do_info(self, _id): housing = self.get_object(_id, 'get_housing') if not housing: - print >>sys.stderr, 'Housing not found: %s' % _id + print >>sys.stderr, 'Housing not found: %s' % _id return 3 self.start_format() diff --git a/weboob/applications/galleroob/galleroob.py b/weboob/applications/galleroob/galleroob.py index 6eca3d901d..ff457e6c1a 100644 --- a/weboob/applications/galleroob/galleroob.py +++ b/weboob/applications/galleroob/galleroob.py @@ -51,6 +51,7 @@ class Galleroob(ReplApplication): VERSION = '0.f' COPYRIGHT = u'Copyright(C) 2011 Noé Rubinstein' DESCRIPTION = 'galleroob browses and downloads web image galleries' + SHORT_DESCRIPTION = 'browse and download web image galleries' CAPS = ICapGallery EXTRA_FORMATTERS = {'gallery_list': GalleryListFormatter} COMMANDS_FORMATTERS = {'search': 'gallery_list', 'ls': 'gallery_list'} diff --git a/weboob/applications/geolooc/geolooc.py b/weboob/applications/geolooc/geolooc.py index 7f89c4f10c..4ce99d18c4 100644 --- a/weboob/applications/geolooc/geolooc.py +++ b/weboob/applications/geolooc/geolooc.py @@ -31,7 +31,8 @@ class Geolooc(ReplApplication): APPNAME = 'geolooc' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' - DESCRIPTION = 'Console application allowing to geolocalize IP addresses.' + DESCRIPTION = "Console application allowing to geolocalize IP addresses." + SHORT_DESCRIPTION = "geolocalize IP addresses" CAPS = ICapGeolocIp def main(self, argv): diff --git a/weboob/applications/havedate/havedate.py b/weboob/applications/havedate/havedate.py index 47d8e53414..99888ff88a 100644 --- a/weboob/applications/havedate/havedate.py +++ b/weboob/applications/havedate/havedate.py @@ -45,12 +45,14 @@ def get_description(self, event): if hasattr(event, 'message'): return event.message + class HaveDate(Boobmsg): APPNAME = 'havedate' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2012 Romain Bignon' - DESCRIPTION = 'Console application allowing to interact with various dating websites ' \ - 'and to optimize seduction algorithmically.' + DESCRIPTION = "Console application allowing to interact with various dating websites " \ + "and to optimize seduction algorithmically." + SHORT_DESCRIPTION = "interact with dating websites" STORAGE_FILENAME = 'dating.storage' STORAGE = {'optims': {}} CAPS = ICapDating diff --git a/weboob/applications/masstransit/masstransit.py b/weboob/applications/masstransit/masstransit.py index 70836194b3..dc589f1a24 100644 --- a/weboob/applications/masstransit/masstransit.py +++ b/weboob/applications/masstransit/masstransit.py @@ -281,6 +281,8 @@ class Masstransit(BaseApplication): APPNAME = 'masstransit' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2011 Julien Hébert' + DESCRIPTION = "Maemo application allowing to search for train stations and get departure times." + SHORT_DESCRIPTION = "search for train stations and departures" def main(self, argv): self.load_backends(ICapTravel) diff --git a/weboob/applications/monboob/monboob.py b/weboob/applications/monboob/monboob.py index 24a460d8fd..577a10e1b3 100644 --- a/weboob/applications/monboob/monboob.py +++ b/weboob/applications/monboob/monboob.py @@ -41,6 +41,7 @@ __all__ = ['Monboob'] + class FakeSMTPD(SMTPServer): def __init__(self, app, bindaddr, port): SMTPServer.__init__(self, (bindaddr, port), None) @@ -50,6 +51,7 @@ def process_message(self, peer, mailfrom, rcpttos, data): msg = message_from_string(data) self.app.process_incoming_mail(msg) + class MonboobScheduler(Scheduler): def __init__(self, app): Scheduler.__init__(self) @@ -89,6 +91,7 @@ class Monboob(ReplApplication): COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' DESCRIPTION = 'Daemon allowing to regularly check for new messages on various websites, ' \ 'and send an email for each message, and post a reply to a message on a website.' + SHORT_DESCRIPTION = "daemon to send and check messages" CONFIG = {'interval': 300, 'domain': 'weboob.example.org', 'recipient': 'weboob@example.org', @@ -119,7 +122,7 @@ def main(self, argv): try: self.config.set('html', int(self.config.get('html'))) - if self.config.get('html') not in (0,1): + if self.config.get('html') not in (0, 1): raise ValueError() except ValueError: print >>sys.stderr, 'Configuration error: html must be 0 or 1.' diff --git a/weboob/applications/pastoob/pastoob.py b/weboob/applications/pastoob/pastoob.py index 39741f7e25..67006eaec5 100644 --- a/weboob/applications/pastoob/pastoob.py +++ b/weboob/applications/pastoob/pastoob.py @@ -37,8 +37,9 @@ class Pastoob(ReplApplication): APPNAME = 'pastoob' VERSION = '0.f' - COPYRIGHT = 'Copyright(C) 2011 Laurent Bachelier' - DESCRIPTION = 'Console application allowing to post and get pastes from pastebins.' + COPYRIGHT = 'Copyright(C) 2011-2013 Laurent Bachelier' + DESCRIPTION = "Console application allowing to post and get pastes from pastebins." + SHORT_DESCRIPTION = "post and get pastes from pastebins" CAPS = ICapPaste def main(self, argv): diff --git a/weboob/applications/qboobmsg/qboobmsg.py b/weboob/applications/qboobmsg/qboobmsg.py index 2aad4167d1..5c76966425 100644 --- a/weboob/applications/qboobmsg/qboobmsg.py +++ b/weboob/applications/qboobmsg/qboobmsg.py @@ -23,11 +23,13 @@ from .main_window import MainWindow + class QBoobMsg(QtApplication): APPNAME = 'qboobmsg' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' - DESCRIPTION = 'Qt application allowing to read messages on various websites and reply to them.' + DESCRIPTION = "Qt application allowing to read messages on various websites and reply to them." + SHORT_DESCRIPTION = "send and receive message threads" CAPS = ICapMessages def main(self, argv): diff --git a/weboob/applications/qflatboob/qflatboob.py b/weboob/applications/qflatboob/qflatboob.py index 2cc32b21ca..3f98b7035b 100644 --- a/weboob/applications/qflatboob/qflatboob.py +++ b/weboob/applications/qflatboob/qflatboob.py @@ -24,11 +24,13 @@ from .main_window import MainWindow + class QFlatBoob(QtApplication): APPNAME = 'qflatboob' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2012 Romain Bignon' - DESCRIPTION = 'Qt application to find housings.' + DESCRIPTION = "Qt application to search for housing." + SHORT_DESCRIPTION = "search for housing" CAPS = ICapHousing CONFIG = {'queries': {}} STORAGE = {'bookmarks': [], 'read': [], 'notes': {}} diff --git a/weboob/applications/qhavedate/qhavedate.py b/weboob/applications/qhavedate/qhavedate.py index 5b3bdeeb24..231cf19c8a 100644 --- a/weboob/applications/qhavedate/qhavedate.py +++ b/weboob/applications/qhavedate/qhavedate.py @@ -27,7 +27,8 @@ class QHaveDate(QtApplication): APPNAME = 'qhavedate' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2012 Romain Bignon' - DESCRIPTION = 'Qt application allowing to interact with various dating websites.' + DESCRIPTION = "Qt application allowing to interact with various dating websites." + SHORT_DESCRIPTION = "interact with dating websites" CAPS = ICapDating STORAGE_FILENAME = 'dating.storage' diff --git a/weboob/applications/qvideoob/qvideoob.py b/weboob/applications/qvideoob/qvideoob.py index 854087739d..6001a9792f 100644 --- a/weboob/applications/qvideoob/qvideoob.py +++ b/weboob/applications/qvideoob/qvideoob.py @@ -23,11 +23,13 @@ from .main_window import MainWindow + class QVideoob(QtApplication): APPNAME = 'qvideoob' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' - DESCRIPTION = 'Qt application allowing to search videos on various websites and play them.' + DESCRIPTION = "Qt application allowing to search videos on various websites and play them." + SHORT_DESCRIPTION = "search and play videos" CAPS = ICapVideo CONFIG = {'settings': {'nsfw': 1, 'sfw': 1, diff --git a/weboob/applications/qvideoob/video.py b/weboob/applications/qvideoob/video.py index 430c07e78b..337b512055 100644 --- a/weboob/applications/qvideoob/video.py +++ b/weboob/applications/qvideoob/video.py @@ -18,7 +18,7 @@ # along with weboob. If not, see . -from PyQt4.QtCore import QUrl +from PyQt4.QtCore import QUrl from PyQt4.QtGui import QDialog from PyQt4.phonon import Phonon diff --git a/weboob/applications/qwebcontentedit/qwebcontentedit.py b/weboob/applications/qwebcontentedit/qwebcontentedit.py index e0efb5a33e..9c19503cfb 100644 --- a/weboob/applications/qwebcontentedit/qwebcontentedit.py +++ b/weboob/applications/qwebcontentedit/qwebcontentedit.py @@ -27,7 +27,8 @@ class QWebContentEdit(QtApplication): APPNAME = 'qwebcontentedit' VERSION = '0.f' COPYRIGHT = u'Copyright(C) 2011 Clément Schreiner' - DESCRIPTION = 'Qt application allowing to manage contents of various websites.' + DESCRIPTION = "Qt application allowing to manage content of various websites." + SHORT_DESCRIPTION = "manage websites content" CAPS = ICapContent def main(self, argv): diff --git a/weboob/applications/qweboobcfg/qweboobcfg.py b/weboob/applications/qweboobcfg/qweboobcfg.py index 3bbc42d653..09c228f0f0 100644 --- a/weboob/applications/qweboobcfg/qweboobcfg.py +++ b/weboob/applications/qweboobcfg/qweboobcfg.py @@ -28,6 +28,7 @@ class QWeboobCfg(QtApplication): COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' DESCRIPTION = "weboob-config-qt is a graphical application to add/edit/remove backends, " \ "and to register new website accounts." + SHORT_DESCRIPTION = "manage backends or register new accounts" def main(self, argv): self.load_backends() diff --git a/weboob/applications/radioob/radioob.py b/weboob/applications/radioob/radioob.py index a6f67aa4be..58682d1514 100644 --- a/weboob/applications/radioob/radioob.py +++ b/weboob/applications/radioob/radioob.py @@ -33,7 +33,6 @@ class RadioListFormatter(PrettyFormatter): MANDATORY_FIELDS = ('id', 'title', 'description') - def get_title(self, obj): return obj.title @@ -51,8 +50,9 @@ class Radioob(ReplApplication): APPNAME = 'radioob' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2012 Romain Bignon' - DESCRIPTION = 'Console application allowing to search for web radio stations, listen to them and get information ' \ - 'like the current song.' + DESCRIPTION = "Console application allowing to search for web radio stations, listen to them and get information " \ + "like the current song." + SHORT_DESCRIPTION = "search, show or listen to radio stations" CAPS = ICapRadio EXTRA_FORMATTERS = {'radio_list': RadioListFormatter} COMMANDS_FORMATTERS = {'ls': 'radio_list', diff --git a/weboob/applications/translaboob/translaboob.py b/weboob/applications/translaboob/translaboob.py index 506150e263..5f37deb215 100644 --- a/weboob/applications/translaboob/translaboob.py +++ b/weboob/applications/translaboob/translaboob.py @@ -33,6 +33,7 @@ class TranslationFormatter(IFormatter): def format_obj(self, obj, alias): return u'%s* %s%s\n\t%s' % (self.BOLD, obj.backend, self.NC, obj.text.replace('\n', '\n\t')) + class XmlTranslationFormatter(IFormatter): MANDATORY_FIELDS = ('id', 'text') @@ -43,11 +44,13 @@ def start_format(self, **kwargs): def format_obj(self, obj, alias): return u'\n%s\n' % (obj.backend, obj.text) + class Translaboob(ReplApplication): APPNAME = 'translaboob' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2012 Lucien Loiseau' - DESCRIPTION = 'Console application to translate text from one language to another' + DESCRIPTION = "Console application to translate text from one language to another" + SHORT_DESCRIPTION = "translate text from one language to another" CAPS = ICapTranslate EXTRA_FORMATTERS = {'translation': TranslationFormatter, 'xmltrans': XmlTranslationFormatter, @@ -55,19 +58,18 @@ class Translaboob(ReplApplication): COMMANDS_FORMATTERS = {'translate': 'translation', } LANGUAGE = { - 'ar':'Arabic', 'af':'Afrikaans', 'sq':'Albanian', 'hy':'Armenian', 'az':'Azerbaijani', 'eu':'Basque', 'be':'Belarusian', - 'bn':'Bengali', 'bg':'Bulgarian', 'ca':'Catalan', 'zh':'Chinese', 'hr':'Croatian', 'cz':'Czech', 'da':'Danish', - 'nl':'Dutch', 'en':'English', 'eo':'Esperanto', 'et':'Estonian', 'tl':'Filipino', 'fi':'Finnish', 'fr':'French', - 'gl':'Galician', 'ka':'Georgian', 'de':'German', 'gr':'Greek', 'gu':'Gujarati', 'ht':'Haitian', 'iw':'Hebrew', - 'hi':'Hindi', 'hu':'Hungaric', 'is':'Icelandic', 'id':'Indonesian', 'ga':'Irish', 'it':'Italian', 'ja':'Japanese', - 'kn':'Kannada', 'ko':'Korean', 'la':'Latin', 'lv':'Latvian', 'lt':'Lithuanian', 'mk':'Macedonian', 'ms':'Malay', - 'mt':'Maltese', 'no':'Norwegian', 'fa':'Persian', 'pl':'Polish', 'pt':'Portuguese', 'ro':'Romanian', 'ru':'Russian', - 'sr':'Serbian', 'sk':'Slovak', 'sl':'Slovenian', 'es':'Spanish', 'sw':'Swahili', 'sv':'Swedish', 'ta':'Tamil', - 'te':'Telugu', 'th':'Thai', 'tr':'Turkish', 'uk':'Ukrainian', 'ur':'Urdu', 'vi':'Vietnamese', 'cy':'Welsh', 'yi':'Yiddish', + 'ar': 'Arabic', 'af': 'Afrikaans', 'sq': 'Albanian', 'hy': 'Armenian', 'az': 'Azerbaijani', 'eu': 'Basque', 'be': 'Belarusian', + 'bn': 'Bengali', 'bg': 'Bulgarian', 'ca': 'Catalan', 'zh': 'Chinese', 'hr': 'Croatian', 'cz': 'Czech', 'da': 'Danish', + 'nl': 'Dutch', 'en': 'English', 'eo': 'Esperanto', 'et': 'Estonian', 'tl': 'Filipino', 'fi': 'Finnish', 'fr': 'French', + 'gl': 'Galician', 'ka': 'Georgian', 'de': 'German', 'gr': 'Greek', 'gu': 'Gujarati', 'ht': 'Haitian', 'iw': 'Hebrew', + 'hi': 'Hindi', 'hu': 'Hungaric', 'is': 'Icelandic', 'id': 'Indonesian', 'ga': 'Irish', 'it': 'Italian', 'ja': 'Japanese', + 'kn': 'Kannada', 'ko': 'Korean', 'la': 'Latin', 'lv': 'Latvian', 'lt': 'Lithuanian', 'mk': 'Macedonian', 'ms': 'Malay', + 'mt': 'Maltese', 'no': 'Norwegian', 'fa': 'Persian', 'pl': 'Polish', 'pt': 'Portuguese', 'ro': 'Romanian', 'ru': 'Russian', + 'sr': 'Serbian', 'sk': 'Slovak', 'sl': 'Slovenian', 'es': 'Spanish', 'sw': 'Swahili', 'sv': 'Swedish', 'ta': 'Tamil', + 'te': 'Telugu', 'th': 'Thai', 'tr': 'Turkish', 'uk': 'Ukrainian', 'ur': 'Urdu', 'vi': 'Vietnamese', 'cy': 'Welsh', 'yi': 'Yiddish', 'nigger': 'Nigger!', } - def do_translate(self, line): """ translate FROM TO [TEXT] @@ -110,7 +112,7 @@ def do_translate(self, line): text = self.acquire_input() self.start_format(source=text) - for backend, translation in self.do('translate', self.LANGUAGE[lan_from], self.LANGUAGE[lan_to], text): + for backend, translation in self.do('translate', self.LANGUAGE[lan_from], self.LANGUAGE[lan_to], text): self.format(translation) self.flush() except (TranslationFail, LanguageNotSupported) as error: diff --git a/weboob/applications/traveloob/traveloob.py b/weboob/applications/traveloob/traveloob.py index 26627b21d3..ee99fd257f 100644 --- a/weboob/applications/traveloob/traveloob.py +++ b/weboob/applications/traveloob/traveloob.py @@ -33,7 +33,8 @@ class Traveloob(ReplApplication): APPNAME = 'traveloob' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' - DESCRIPTION = 'Console application allowing to search for train stations and get departure times.' + DESCRIPTION = "Console application allowing to search for train stations and get departure times." + SHORT_DESCRIPTION = "search for train stations and departures" CAPS = ICapTravel DEFAULT_FORMATTER = 'table' diff --git a/weboob/applications/videoob/videoob.py b/weboob/applications/videoob/videoob.py index 9072ea1903..721db78c57 100644 --- a/weboob/applications/videoob/videoob.py +++ b/weboob/applications/videoob/videoob.py @@ -53,8 +53,9 @@ class Videoob(ReplApplication): APPNAME = 'videoob' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2011 Christophe Benz, Romain Bignon, John Obbele' - DESCRIPTION = 'Console application allowing to search for videos on various websites, ' \ - 'play and download them and get information.' + DESCRIPTION = "Console application allowing to search for videos on various websites, " \ + "play and download them and get information." + SHORT_DESCRIPTION = "search and play videos" CAPS = ICapVideo EXTRA_FORMATTERS = {'video_list': VideoListFormatter} COMMANDS_FORMATTERS = {'search': 'video_list', diff --git a/weboob/applications/webcontentedit/webcontentedit.py b/weboob/applications/webcontentedit/webcontentedit.py index 19feb3e0b9..ce4265a5a9 100644 --- a/weboob/applications/webcontentedit/webcontentedit.py +++ b/weboob/applications/webcontentedit/webcontentedit.py @@ -37,7 +37,8 @@ class WebContentEdit(ReplApplication): APPNAME = 'webcontentedit' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' - DESCRIPTION = 'Console application allowing to display and edit contents on various websites.' + DESCRIPTION = "Console application allowing to display and edit contents on various websites." + SHORT_DESCRIPTION = "manage websites content" CAPS = ICapContent def do_edit(self, line): diff --git a/weboob/applications/weboobcfg/weboobcfg.py b/weboob/applications/weboobcfg/weboobcfg.py index 42a95acb47..a307d2c977 100644 --- a/weboob/applications/weboobcfg/weboobcfg.py +++ b/weboob/applications/weboobcfg/weboobcfg.py @@ -38,6 +38,7 @@ class WeboobCfg(ReplApplication): COPYRIGHT = 'Copyright(C) 2010-2012 Christophe Benz, Romain Bignon' DESCRIPTION = "Weboob-Config is a console application to add/edit/remove backends, " \ "and to register new website accounts." + SHORT_DESCRIPTION = "manage backends or register new accounts" COMMANDS_FORMATTERS = {'modules': 'table', 'list': 'table', } @@ -127,8 +128,8 @@ def do_list(self, line): row = OrderedDict([('Name', instance_name), ('Module', name), ('Configuration', ', '.join( - '%s=%s' % (key, ('*****' if key in module.config and module.config[key].masked \ - else value)) \ + '%s=%s' % (key, ('*****' if key in module.config and module.config[key].masked + else value)) for key, value in params.iteritems())), ]) self.format(row) @@ -144,7 +145,6 @@ def do_remove(self, instance_name): print >>sys.stderr, 'Backend instance "%s" does not exist' % instance_name return 1 - def _do_toggle(self, name, state): try: bname, items = self.weboob.backends_config.get_backend(name) diff --git a/weboob/applications/weboobcli/weboobcli.py b/weboob/applications/weboobcli/weboobcli.py index 41f01ab76b..a8e9a095ce 100644 --- a/weboob/applications/weboobcli/weboobcli.py +++ b/weboob/applications/weboobcli/weboobcli.py @@ -34,6 +34,7 @@ class WeboobCli(ReplApplication): SYNOPSIS += ' %prog [--help] [--version]' DESCRIPTION = "Weboob-Cli is a console application to call a specific method on backends " \ "which implement the given capability." + SHORT_DESCRIPTION = "call a method on backends" DISABLE_REPL = True def load_default_backends(self): diff --git a/weboob/applications/weboobdebug/weboobdebug.py b/weboob/applications/weboobdebug/weboobdebug.py index c5c0f657e7..6a8789e5ac 100644 --- a/weboob/applications/weboobdebug/weboobdebug.py +++ b/weboob/applications/weboobdebug/weboobdebug.py @@ -29,6 +29,7 @@ class WeboobDebug(BaseApplication): VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2011 Christophe Benz' DESCRIPTION = "Weboob-Debug is a console application to debug backends." + SHORT_DESCRIPTION = "debug backends" def __init__(self, option_parser=None): super(WeboobDebug, self).__init__(option_parser) diff --git a/weboob/applications/weboobrepos/weboobrepos.py b/weboob/applications/weboobrepos/weboobrepos.py index 67dd6269f5..2d1236b019 100644 --- a/weboob/applications/weboobrepos/weboobrepos.py +++ b/weboob/applications/weboobrepos/weboobrepos.py @@ -42,6 +42,7 @@ class WeboobRepos(ReplApplication): VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2012 Romain Bignon' DESCRIPTION = "Weboob-repos is a console application to manage a Weboob Repository." + SHORT_DESCRIPTION = "manage a weboob repository" COMMANDS_FORMATTERS = {'backends': 'table', 'list': 'table', } diff --git a/weboob/applications/weboorrents/weboorrents.py b/weboob/applications/weboorrents/weboorrents.py index b5f7bfa1a2..87b66440ce 100644 --- a/weboob/applications/weboorrents/weboorrents.py +++ b/weboob/applications/weboorrents/weboorrents.py @@ -73,8 +73,9 @@ class Weboorrents(ReplApplication): APPNAME = 'weboorrents' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2012 Romain Bignon' - DESCRIPTION = 'Console application allowing to search for torrents on various trackers ' \ - 'and download .torrent files.' + DESCRIPTION = "Console application allowing to search for torrents on various trackers " \ + "and download .torrent files." + SHORT_DESCRIPTION = "search and download torrents" CAPS = ICapTorrent EXTRA_FORMATTERS = {'torrent_list': TorrentListFormatter, 'torrent_info': TorrentInfoFormatter, @@ -97,7 +98,7 @@ def do_info(self, id): torrent = self.get_object(id, 'get_torrent') if not torrent: - print >>sys.stderr, 'Torrent not found: %s' % id + print >>sys.stderr, 'Torrent not found: %s' % id return 3 self.start_format() @@ -143,8 +144,8 @@ def do_getfile(self, line): for backend, error, backtrace in errors: if isinstance(error, MagnetOnly): print >>sys.stderr, u'Error(%s): No direct URL available, ' \ - u'please provide this magnet URL ' \ - u'to your client:\n%s' % (backend, error.magnet) + u'please provide this magnet URL ' \ + u'to your client:\n%s' % (backend, error.magnet) return 4 else: self.bcall_error_handler(backend, error, backtrace) diff --git a/weboob/applications/wetboobs/wetboobs.py b/weboob/applications/wetboobs/wetboobs.py index 25e1f83f16..4b961760ae 100644 --- a/weboob/applications/wetboobs/wetboobs.py +++ b/weboob/applications/wetboobs/wetboobs.py @@ -27,6 +27,7 @@ __all__ = ['WetBoobs'] + class ForecastsFormatter(IFormatter): MANDATORY_FIELDS = ('id', 'date', 'low', 'high') @@ -38,6 +39,7 @@ def format_obj(self, obj, alias): result += ' %s' % obj.text return result + class CurrentFormatter(IFormatter): MANDATORY_FIELDS = ('id', 'date', 'temp') @@ -49,6 +51,7 @@ def format_obj(self, obj, alias): result += u' - %s' % obj.text return result + class CitiesFormatter(PrettyFormatter): MANDATORY_FIELDS = ('id', 'name') @@ -60,7 +63,8 @@ class WetBoobs(ReplApplication): APPNAME = 'wetboobs' VERSION = '0.f' COPYRIGHT = 'Copyright(C) 2010-2011 Romain Bignon' - DESCRIPTION = 'Console application allowing to display weather and forecasts in your city.' + DESCRIPTION = "Console application allowing to display weather and forecasts in your city." + SHORT_DESCRIPTION = "display weather and forecasts" CAPS = (ICapWeather, ICapGauge) DEFAULT_FORMATTER = 'table' EXTRA_FORMATTERS = {'cities': CitiesFormatter, -- GitLab