aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-08-08 14:22:18 +0000
committerFrederic Culot <calcurse@culot.org>2008-08-08 14:22:18 +0000
commitcc3b4303056d891c4782469be50be21ca50e2271 (patch)
treeab11e17578f7256b1a7e5d03b4aa938818926ab3
parenta2fe228ebeb7f24573f3bc9bc63b71e91c5350f2 (diff)
downloadcalcurse-cc3b4303056d891c4782469be50be21ca50e2271.tar.gz
calcurse-cc3b4303056d891c4782469be50be21ca50e2271.zip
manpage and manuals updated with new command line options
-rwxr-xr-xChangeLog5
-rwxr-xr-xdoc/manual_de.html32
-rwxr-xr-xdoc/manual_en.html28
-rwxr-xr-xdoc/manual_es.html34
-rwxr-xr-xdoc/manual_fr.html32
-rwxr-xr-xdoc/manual_it.html38
-rwxr-xr-xdoc/manual_nl.html36
-rwxr-xr-xsrc/calcurse.130
8 files changed, 198 insertions, 37 deletions
diff --git a/ChangeLog b/ChangeLog
index b62d838..f4fbc16 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-08 Frederic Culot <frederic@culot.org>
+
+ * src/calcurse.1: manpage updated with new command line options
+ * doc/manual_*.html: manuals updated with new command line options
+
2008-08-06 Frederic Culot <frederic@culot.org>
* src/args.c (parse_args, help_arg, usage): '-s', '-r' and '-D'
diff --git a/doc/manual_de.html b/doc/manual_de.html
index a8a0da5..1618828 100755
--- a/doc/manual_de.html
+++ b/doc/manual_de.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
/*
- * $calcurse: manual_de.html,v 1.17 2008/04/20 12:43:13 culot Exp $
+ * $calcurse: manual_de.html,v 1.18 2008/08/08 14:22:19 culot Exp $
*
* Calcurse - text-based organizer
* Copyright (c) 2004-2008 Frederic Culot
@@ -232,7 +232,7 @@ laden:</p>
<h2>3.2 Installationsprozess<a name="install_process"></a></h2>
<p>
Als erstes m&uuml;ssen die Dateien entpackt werden:</p>
-<pre>tar zxvf calcurse-2.1.tar.gz</pre>
+<pre>tar zxvf calcurse-2.2.tar.gz</pre>
<p>
Ist diese Voraussetzung erf&uuml;llt und das Archiv entpackt,
sind nur noch die drei &uuml;blichen Schritte erforderlich:</p>
@@ -279,6 +279,14 @@ Es werden sowohl kurze als auch lange Optionsangaben unterst&uuml;tzt.</p>
Beispiel: Die Eingabe <code>calcurse -d 3</code> gibt alle Termine des
heutigen und der beiden folgenden Tage aus.
</dd>
+ <dt><code>-D &lt;dir&gt;, --directory &lt;dir&gt;</code></dt>
+ <dd>
+ <div class="todo">
+ Specify the data directory to use. This option is
+ incompatible with -c. If not specified, the
+ default directory is <code>'~/.calcurse/'</code>.
+ </div>
+ </dd>
<dt><code>-h, --help</code></dt>
<dd>Gibt eine Hilfe zu den unterst&uuml;tzten Optionen aus.
</dd>
@@ -298,6 +306,21 @@ Es werden sowohl kurze als auch lange Optionsangaben unterst&uuml;tzt.</p>
if one is associated with the displayed item.
</div>
</dd>
+ <dt><code>-r[num], --range[=num]</code></dt>
+ <dd>
+ <div class="todo">
+ Print events and appointments for the num number of
+ days and exit. If no num is given, a range of 1 day
+ is considered.
+ </div>
+ </dd>
+ <dt><code>-s[date], --startday[=date]</code></dt>
+ <dd>
+ <div class="todo">
+ Print events and appointments from date and exit.
+ If no date is given, the current day is considered.
+ </div>
+ </dd>
<dt><code>-t[num], --todo[=num]</code></dt>
<dd>Gibt die 'todo' Liste aus.
Wird die optionale Angabe <code>num</code> &uuml;bergeben, werden nur diejenigen
@@ -498,6 +521,7 @@ Hierbei steht '^' f&uuml;r die Taste 'Strg' beziehungsweise 'Ctrl':
<h2>4.3 <code>calcurse</code> Dateien<a name="basics_files"></a></h2>
<p>
Die folgende Verzeichnisstruktur wird im $HOME-Verzeichnis angelegt,
+<div class="todo">(or in the directory you specified with the -D option)</div>
wenn <code>calcurse</code> das erste Mal gestartet wird:</p>
<pre>
$HOME/.calcurse/
@@ -970,7 +994,7 @@ derjenigen, denen ich Danke sagen m&ouml;chte:
recur_item_inday() verbessern half
<span class="todo">, and for implementing the date format configuration options</span></li>
<li>Jeremy Roon f&uuml;r die &Uuml;bersetzung ins Dutch.</li>
-<li><div class="todo">Erik Saule for its patch implementing the '-N' flag</div></li>
+<li><div class="todo">Erik Saule for its patch implementing the '-N', '-s', '-r' and '-D' flags</div></li>
<li>Leute die Programme geschrieben haben, die ich mag und mich inspiriert haben, insbesondere:
<ul>
<li><code>vim</code> f&uuml;r die Befehlssteuerung</li>
@@ -987,7 +1011,7 @@ Benutzer, die mir Ihr Feedback mitgeteilt haben.</p>
Copyright (c) 2004-2008 Fr&eacute;d&eacute;ric Culot<br>
German translation by Michael Schulz
<code>&lt;bloodshower .at. web .dot. de&gt;</code>, and Chris.<br>
- Calcurse version 2.1 - Last change: April 20, 2008<br>
+ Calcurse version 2.2 - Last change: August 8, 2008<br>
</div>
</div>
diff --git a/doc/manual_en.html b/doc/manual_en.html
index 6eb1715..20b6159 100755
--- a/doc/manual_en.html
+++ b/doc/manual_en.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
/*
- * $calcurse: manual_en.html,v 1.17 2008/04/20 12:43:13 culot Exp $
+ * $calcurse: manual_en.html,v 1.18 2008/08/08 14:22:19 culot Exp $
*
* Calcurse - text-based organizer
* Copyright (c) 2004-2008 Frederic Culot
@@ -230,7 +230,7 @@ All of the commands are documented within an online help system.
<h2>3.2 Install process<a name="install_process"></a></h2>
<p>
First you need to gunzip and untar the source archive:</p>
- <pre>tar zxvf calcurse-2.1.tar.gz</pre>
+ <pre>tar zxvf calcurse-2.2.tar.gz</pre>
<p>
Once you meet the requirements and have extracted the archive,
the install process is quite simple, and follows the standard
@@ -289,6 +289,12 @@ All of the commands are documented within an online help system.
flag, the calendar from which to read the appointments
can be specified using the '-c' flag.</p>
</dd>
+ <dt><code>-D &lt;dir&gt;, --directory &lt;dir&gt;</code></dt>
+ <dd>
+ Specify the data directory to use. This option is
+ incompatible with -c. If not specified, the
+ default directory is <code>'~/.calcurse/'</code>.
+ </dd>
<dt><code>-h, --help</code></dt>
<dd>
Print a short help text describing the supported
@@ -307,6 +313,17 @@ All of the commands are documented within an online help system.
When used with the '-a' or '-t' flag, also print note content
if one is associated with the displayed item.
</dd>
+ <dt><code>-r[num], --range[=num]</code></dt>
+ <dd>
+ Print events and appointments for the num number of
+ days and exit. If no num is given, a range of 1 day
+ is considered.
+ </dd>
+ <dt><code>-s[date], --startday[=date]</code></dt>
+ <dd>
+ Print events and appointments from date and exit.
+ If no date is given, the current day is considered.
+ </dd>
<dt><code>-t[num], --todo[=num]</code></dt>
<dd>
Print the 'todo' list and exit. If the optional number
@@ -514,7 +531,8 @@ All of the commands are documented within an online help system.
<h2>4.3 <code>calcurse</code> files<a name="basics_files"></a></h2>
<p>
The following structure is created in your <code>$HOME</code>
- directory the first time <code>calcurse</code> is run :</p>
+ directory (or in the directory you specified with the -D option)
+ the first time <code>calcurse</code> is run :</p>
<pre>
$HOME/.calcurse/
|___notes/
@@ -1017,7 +1035,7 @@ msgid ""
recur_item_inday() function, and for implementing the date format configuration
options</li>
<li>Jeremy Roon for the dutch translation</li>
- <li>Erik Saule for its patch implementing the '-N' flag</li>
+ <li>Erik Saule for its patch implementing the '-N', '-s', '-r' and '-D' flags</li>
<li>people who write softwares I like and which inspired me,
especially :
<ul>
@@ -1034,7 +1052,7 @@ msgid ""
<div class="footer">
Copyright (c) 2004-2008 Fr&eacute;d&eacute;ric Culot<br>
- Calcurse version 2.1 - Last change: April 20, 2008<br>
+ Calcurse version 2.2 - Last change: August 8, 2008<br>
</div>
</div>
diff --git a/doc/manual_es.html b/doc/manual_es.html
index 16e391b..8acedb4 100755
--- a/doc/manual_es.html
+++ b/doc/manual_es.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
/*
- * $calcurse: manual_es.html,v 1.14 2008/04/20 12:43:13 culot Exp $
+ * $calcurse: manual_es.html,v 1.15 2008/08/08 14:22:19 culot Exp $
*
* Calcurse - text-based organizer
* Copyright (c) 2004-2008 Frederic Culot
@@ -230,7 +230,7 @@ well as the way one can contribute to <code>calcurse</code> development.
<h2>3.2 Proceso de instalación<a name="install_process"></a></h2>
<p>
Primero necesitas descomprimir ( gunzip y untar) el archivo fuente:</p>
- <pre>tar zxvf calcurse-2.1.tar.gz</pre>
+ <pre>tar zxvf calcurse-2.2.tar.gz</pre>
<p>
Una vez has resuelto los requisitos y has extraído el archivo,
el proceso de instalación es muy simple y sigue los tres pasos habituales:
@@ -285,6 +285,14 @@ well as the way one can contribute to <code>calcurse</code> development.
al igual que para la opción '-a' , el calendario desde donde se
leerán puede ser especificado usando la opción '-c' .</p>
</dd>
+ <dt><code>-D &lt;dir&gt;, --directory &lt;dir&gt;</code></dt>
+ <dd>
+ <div class="todo">
+ Specify the data directory to use. This option is
+ incompatible with -c. If not specified, the
+ default directory is <code>'~/.calcurse/'</code>.
+ </div>
+ </dd>
<dt><code>-h, --help</code></dt>
<dd>
Imprime un breve texto de ayuda describiendo las opciones soportadas en la
@@ -305,6 +313,21 @@ well as the way one can contribute to <code>calcurse</code> development.
if one is associated with the displayed item.
</div>
</dd>
+ <dt><code>-r[num], --range[=num]</code></dt>
+ <dd>
+ <div class="todo">
+ Print events and appointments for the num number of
+ days and exit. If no num is given, a range of 1 day
+ is considered.
+ </div>
+ </dd>
+ <dt><code>-s[date], --startday[=date]</code></dt>
+ <dd>
+ <div class="todo">
+ Print events and appointments from date and exit.
+ If no date is given, the current day is considered.
+ </div>
+ </dd>
<dt><code>-t[num], --todo[=num]</code></dt>
<dd>
Imprime la lista de tareas pendientes ('ToDo') y sale.
@@ -508,7 +531,8 @@ well as the way one can contribute to <code>calcurse</code> development.
<h2>4.3 Archivos de <code>calcurse</code><a name="basics_files"></a></h2>
<p>
- La siguiente estructura se crea en tu directorio <code>$HOME</code>
+ La siguiente estructura se crea en tu directorio <code>$HOME</code>
+ <div class="todo">(or in the directory you specified with the -D option)</div>
la primera vez que se ejecuta <code>calcurse</code> :</p>
<pre>
$HOME/.calcurse/
@@ -986,7 +1010,7 @@ msgid ""
<li>José López por la traducción al Español de <code>calcurse</code> y su manual</li>
<li>Jeremy Roon por la traducción al holandes</li>
<li>Leandro Noferini por la traducción al italiano</li>
- <li><div class="todo">Erik Saule for its patch implementing the '-N' flag</div></li>
+ <li><div class="todo">Erik Saule for its patch implementing the '-N', '-s', '-r' and '-D' flags</div></li>
<li>a la gente que ha escrito softwares que me gustan y que me inspiraron, especialmente :
<ul>
<li><code>vim</code> por las teclas de desplazamiento</li>
@@ -1004,7 +1028,7 @@ msgid ""
Copyright (c) 2004-2008 Fr&eacute;d&eacute;ric Culot<br>
Traducido al Español por José López
<code>&lt;testinground .at. gmail .dot. com&gt;</code><br>
- Calcurse version 2.1 - Last change: April 20, 2008<br>
+ Calcurse version 2.2 - Last change: August 8, 2008<br>
</div>
</div>
diff --git a/doc/manual_fr.html b/doc/manual_fr.html
index 90d4b84..ccfd5db 100755
--- a/doc/manual_fr.html
+++ b/doc/manual_fr.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
/*
- * $calcurse: manual_fr.html,v 1.18 2008/04/20 12:43:13 culot Exp $
+ * $calcurse: manual_fr.html,v 1.19 2008/08/08 14:22:19 culot Exp $
*
* Calcurse - text-based organizer
* Copyright (c) 2004-2008 Frederic Culot
@@ -258,7 +258,7 @@ disponibles.
<p>
Vous devez tout d'abord décompresser l'archive source de la
manière suivante :</p>
- <pre>tar zxvf calcurse-2.1.tar.gz</pre>
+ <pre>tar zxvf calcurse-2.2.tar.gz</pre>
<p>
Une fois que vous remplissez tous les pré-requis nécessaires à
l'installation, le processus de compilation est simple et suit
@@ -319,6 +319,13 @@ disponibles.
comme pour l'option '-a', le fichier contenant le calendrier
à lire peut être spécifié en utilisant l'option '-c'.</p>
</dd>
+ <dt><code>-D &lt;dir&gt;, --directory &lt;dir&gt;</code></dt>
+ <dd>
+ Indique le répertoire dans lequel seront stockées les données.
+ Cette option n'est pas compatible avec l'option '-c'. Si ce
+ répertoire n'est pas spécifié, celui utilisé par défaut est
+ <code>'~/.calcurse/'</code>.
+ </dd>
<dt><code>-h, --help</code></dt>
<dd>
Affiche l'aide décrivant les options en ligne de commande,
@@ -339,6 +346,18 @@ disponibles.
le contenu des notes associées aux rendez-vous et aux tâches sera
également affiché.
</dd>
+ <dt><code>-r[num], --range[=num]</code></dt>
+ <dd>
+ Affiche les rendez-vous et les événements pour le nombre num de
+ jours puis quitte. Si l'argument optionnel num n'est pas donné,
+ une plage d'une seule journée sera utilisée.
+ </dd>
+ <dt><code>-s[date], --startday[=date]</code></dt>
+ <dd>
+ Affiche les rendez-vous et les événements depuis la date indiquée
+ puis quitte. Si l'argument optionnel date n'est pas donné, la journée
+ courante sera utilisée.
+ </dd>
<dt><code>-t[num], --todo[=num]</code></dt>
<dd>
Affiche la liste des 'todo', puis quitte. Si le nombre optionnel
@@ -561,7 +580,8 @@ disponibles.
<h2>4.3 Fichiers<a name="basics_files"></a></h2>
<p>
La structure de fichiers suivante est créée dans le répertoire
- <code>$HOME</code> de l'utilisateur la première fois que
+ <code>$HOME</code> de l'utilisateur (ou bien dans le répertoire
+ indiqué par l'option '-D') la première fois que
<code>calcurse</code> est lancé :</p>
<pre>
$HOME/.calcurse/
@@ -1159,8 +1179,8 @@ msgid ""
concernant les formats de date</li>
<li>Jeremy Roon pour la traduction en Néerlandais</li>
<li>Leandro Noferini pour la traduction en Italien</li>
- <li>Erik Saule pour son patch qui a permis d'implémenter l'option '-N'
- de la ligne de commande</li>
+ <li>Erik Saule pour son patch qui a permis d'implémenter les options '-N',
+ '-s', '-r', et '-D' de la ligne de commande</li>
<li>les personnes qui écrivent des logiciels que j'apprécie et qui
m'ont inspiré lors de la conception de ce projet, en particulier:
<ul>
@@ -1177,7 +1197,7 @@ msgid ""
<div class="footer">
Copyright (c) 2004-2008 Frédéric Culot<br>
- Calcurse version 2.1 - Dernière modification: 20 Avril 2008<br>
+ Calcurse version 2.2 - Dernière modification: 8 Aout 2008<br>
</div>
</div>
diff --git a/doc/manual_it.html b/doc/manual_it.html
index d3338a6..ad4e058 100755
--- a/doc/manual_it.html
+++ b/doc/manual_it.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
/*
- * $calcurse: manual_it.html,v 1.3 2008/04/20 12:43:13 culot Exp $
+ * $calcurse: manual_it.html,v 1.4 2008/08/08 14:22:19 culot Exp $
*
* Calcurse - text-based organizer
* Copyright (c) 2004-2008 Frederic Culot
@@ -246,7 +246,7 @@ caratteristiche<a name="overview_features"></a></h2>
Innanzitutto è necessario scompattare l'archivio contenente i
sorgenti:
</p>
- <pre>tar zxvf calcurse-2.1.tar.gz</pre>
+ <pre>tar zxvf calcurse-2.2.tar.gz</pre>
<p>
Una volta verificati i requisiti e scompattato l'archivio la
procedura d'installazione è piuttosto semplice visto che segue i tre
@@ -310,6 +310,16 @@ caratteristiche<a name="overview_features"></a></h2>
l'argomento '-a' il calendario dal quale leggere gli
appuntamenti può essere specificato con l'argomento '-c'.</p>
</dd>
+
+ <dt><code>-D &lt;dir&gt;, --directory &lt;dir&gt;</code></dt>
+ <dd>
+ <div class="todo">
+ Specify the data directory to use. This option is
+ incompatible with -c. If not specified, the
+ default directory is <code>'~/.calcurse/'</code>.
+ </div>
+ </dd>
+
<dt><code>-h, --help</code></dt>
<dd>
Stampa la versione breve del testo che descrive le opzioni della
@@ -334,6 +344,22 @@ caratteristiche<a name="overview_features"></a></h2>
</div>
</dd>
+ <dt><code>-r[num], --range[=num]</code></dt>
+ <dd>
+ <div class="todo">
+ Print events and appointments for the num number of
+ days and exit. If no num is given, a range of 1 day
+ is considered.
+ </div>
+ </dd>
+ <dt><code>-s[date], --startday[=date]</code></dt>
+ <dd>
+ <div class="todo">
+ Print events and appointments from date and exit.
+ If no date is given, the current day is considered.
+ </div>
+ </dd>
+
<dt><code>-t[num], --todo[=num]</code></dt>
<dd>
Stampa la lista delle 'attività' ed esce. Se viene specificato
@@ -555,7 +581,9 @@ d'ambiente<a name="basics_invocation_environment"></a></h3>
<h2>4.3 File di <code>calcurse</code><a name="basics_files"></a></h2>
<p>
Al primo avvio di <code>calcurse</code> viene creata nella vostra
- directory <code>$HOME</code> questa gerarchia di directory:
+ directory <code>$HOME</code>
+ <div class="todo">(or in the directory you specified with the -D option)</div>
+ questa gerarchia di directory:
</p>
<pre>
$HOME/.calcurse/
@@ -1218,7 +1246,7 @@ d'ambiente<a name="basics_invocation_environment"></a></h3>
<li>
Leandro Noferini per la traduzione italiana
</li>
- <li><div class="todo">Erik Saule for its patch implementing the '-N' flag</div></li>
+ <li><div class="todo">Erik Saule for its patch implementing the '-N', '-s', '-r' and '-D' flags</div></li>
<li>
le persone che hanno scritto software che mi piace e che
mi ha inspirato, e specialmente:
@@ -1245,7 +1273,7 @@ d'ambiente<a name="basics_invocation_environment"></a></h3>
<div class="footer">
Copyright (c) 2004-2008 Fr&eacute;d&eacute;ric Culot<br>
- Calcurse version 2.1 - Last change: April 20, 2008<br>
+ Calcurse version 2.2 - Last change: August 8, 2008<br>
</div>
</div>
diff --git a/doc/manual_nl.html b/doc/manual_nl.html
index d388b05..296dccd 100755
--- a/doc/manual_nl.html
+++ b/doc/manual_nl.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//NL">
<!--
/*
- * $calcurse: manual_nl.html,v 1.9 2008/04/20 12:43:13 culot Exp $
+ * $calcurse: manual_nl.html,v 1.10 2008/08/08 14:22:19 culot Exp $
*
* Calcurse - text-based organizer
* Copyright (c) 2004-2008 Frederic Culot
@@ -229,7 +229,7 @@ besproken. Als laatste wordt zowel de procedure van het melden van fouten in
<p>
Als eerste moet het volgende archief uitgepakt worden met gunzip en
untar:</p>
- <pre>tar zxvf calcurse-2.1.tar.gz</pre>
+ <pre>tar zxvf calcurse-2.2.tar.gz</pre>
<p>
Zodra de benodigde pakketten ge&iuml;nstalleerd zijn en het archief
uitgepakt is, is de installatieprocedure vrij simpel, via de
@@ -284,6 +284,14 @@ besproken. Als laatste wordt zowel de procedure van het melden van fouten in
Net zoals bij de '-a' vlag, kan de te gebruiken kalender
worden gekozen met de '-c' vlag.</p>
</dd>
+ <dt><code>-D &lt;dir&gt;, --directory &lt;dir&gt;</code></dt>
+ <dd>
+ <div class="todo">
+ Specify the data directory to use. This option is
+ incompatible with -c. If not specified, the
+ default directory is <code>'~/.calcurse/'</code>.
+ </div>
+ </dd>
<dt><code>-h, --help</code></dt>
<dd>
Geeft een korte hulptekst weer, met de ondersteunde
@@ -305,6 +313,21 @@ besproken. Als laatste wordt zowel de procedure van het melden van fouten in
if one is associated with the displayed item.
</div>
</dd>
+ <dt><code>-r[num], --range[=num]</code></dt>
+ <dd>
+ <div class="todo">
+ Print events and appointments for the num number of
+ days and exit. If no num is given, a range of 1 day
+ is considered.
+ </div>
+ </dd>
+ <dt><code>-s[date], --startday[=date]</code></dt>
+ <dd>
+ <div class="todo">
+ Print events and appointments from date and exit.
+ If no date is given, the current day is considered.
+ </div>
+ </dd>
<dt><code>-t[num], --todo[=num]</code></dt>
<dd>
Geef de 'todo' lijst weer en verlaat het programma. Als het optionele
@@ -514,8 +537,9 @@ besproken. Als laatste wordt zowel de procedure van het melden van fouten in
<h2>4.3 <code>calcurse</code> bestanden<a name="basics_files"></a></h2>
<p>
De volgende structuur wordt in je <code>$HOME</code> directory
- aangemaakt, als <code>calcurse</code> voor de eerste keer wordt
- gestart:</p>
+ aangemaakt,
+ <div class="todo">(or in the directory you specified with the -D option)</div>
+ als <code>calcurse</code> voor de eerste keer wordt gestart:</p>
<pre>
$HOME/.calcurse/
|___notes/
@@ -1009,7 +1033,7 @@ msgid ""
<span class="todo">, and for implementing the date format configuration options</span></li>
<li>Jeremy Roon voor de nederlandse vertaling van
<code>calcurse</code> en handleiding</li>
- <li><div class="todo">Erik Saule for its patch implementing the '-N' flag</div></li>
+ <li><div class="todo">Erik Saule for its patch implementing the '-N', '-s', '-r' and '-D' flags</div></li>
<li>en de mensen die de software geschreven hebben die ik goed vind
en mij ge&iuml;nspireerd hebben zoals:
<ul>
@@ -1028,7 +1052,7 @@ msgid ""
<div class="footer">
Copyright (c) 2004-2008 Fr&eacute;d&eacute;ric Culot<br>
- Calcurse version 2.1 - Last change: April 20, 2008<br>
+ Calcurse version 2.2 - Last change: August 8, 2008<br>
</div>
</div>
diff --git a/src/calcurse.1 b/src/calcurse.1
index 3d8a37f..565dca6 100755
--- a/src/calcurse.1
+++ b/src/calcurse.1
@@ -1,4 +1,4 @@
-.\" $calcurse: calcurse.1,v 1.8 2008/04/05 15:02:56 culot Exp $
+.\" $calcurse: calcurse.1,v 1.9 2008/08/08 14:22:19 culot Exp $
.\"
.\" Copyright (c) 2004-2008 Frederic Culot
.\"
@@ -18,13 +18,17 @@
.\" Boston, MA 02111-1307, USA.
.\"
.fam C
-.TH CALCURSE 1 "April 05, 2008" "Version 2.1" "Calcurse Manual"
+.TH CALCURSE 1 "August 08, 2008" "Version 2.2" "Calcurse Manual"
.SH NAME
Calcurse \- text-based organizer
.SH SYNOPSIS
.B "calcurse "
[\fB-h\fP|\fB-v\fP] [\fB-x\fP] [\fB-N\fP] [\fB-an\fP] [\fB-t\fP[\fInum\fP]]
-[\fB-d\fP \fIdate\fP|\fInum\fP] [\fB-c\fP \fIfile\fP]
+.br
+ [\fB-d\fP <\fIdate\fP>|<\fInum\fP>] [\fB-s\fP[\fIdate\fP]]
+[\fB-r\fP[\fIrange\fP]]
+.br
+ [\fB-c\fP<\fIfile\fP> | \fB-D\fP<\fIdir\fP>]
.SH DESCRIPTION
Calcurse is a text-based calendar and scheduling application. It helps
keeping track of events, appointments and everyday tasks.
@@ -43,7 +47,7 @@ the '\-c' flag.
\fB-c\fP <file>, \fB--calendar\fP <file>
Specify the calendar file to use. The default calendar is
.B "'~/.calcurse/apts'"
-(see section \fIFILES\fP below).
+(see section \fIFILES\fP below). This option is incompatible with \fB-D\fP.
.TP
\fB-d\fP <date|num>, \fB--day\fP <date|num>
Print the appointments and events for the given date or for
@@ -68,6 +72,11 @@ and events for today, tomorrow, and the day after tomorrow.
appointments can be specified using the '\-c' flag.
.RE
.TP
+\fB-D\fP <dir>, \fB--directory\fP <dir>
+Specify the data directory to use. This option is incompatible with \fB-c\fP.
+If not specified, the default directory is
+.B "'~/.calcurse/'"
+.TP
\fB-h\fP, \fB--help\fP
Print a short help text describing the supported command-line options,
and then exit.
@@ -84,6 +93,14 @@ the '\-c' flag.
When used with the '-a' or '-t' flag, also print note content
if one is associated with the displayed item.
.TP
+\fB-r\fP[num], \fB--range\fP[=num]
+Print events and appointments for the \fInum\fP number of days
+and exit. If no \fInum\fP is given, a range of 1 day is considered.
+.TP
+\fB-s\fP[date], \fB--startday\fP[=date]
+Print events and appointments from \fIdate\fP and exit.
+If no \fIdate\fP is given, the current day is considered.
+.TP
\fB-t\fP[num], \fB--todo\fP[=num]
Print the 'todo' list and exit. If the optional number \fInum\fP is given,
then only todos having a priority equal to \fInum\fP will be returned.
@@ -119,8 +136,9 @@ screen), notification options, and more general options (such as automatic
save before quitting).
All of these options are detailed in the configuration menu.
.SH FILES
-The following structure is created in your $HOME directory the first
-time calcurse is run :
+The following structure is created in your $HOME directory
+(or in the directory you specified with the \fB-D\fP option),
+the first time calcurse is run:
.PP
.HP 10
$HOME/.calcurse/