Change -C and -D long option names

The config dir long option has been changed from --conf to --confdir.
The data dir long option has been changed from --directory to --datadir.

Both old options are kept for backward compatibility but are removed
from the manual.

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
vxid
2019-03-13 15:47:22 +01:00
committed by Lukas Fleischer
parent ccdd3391f3
commit 2c50f0700a
2 changed files with 10 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ SYNOPSIS
--------
--
*calcurse* [-D 'directory'] [-C 'confdir'] [-c 'calendar-file']
*calcurse* [-D 'datadir'] [-C 'confdir'] [-c 'calendar-file']
*calcurse* -Q [*--from* 'date'] [*--to* 'date' | *--days* 'number']
@@ -147,12 +147,12 @@ are marked "('also interactively')".
absolute path name, it is interpreted relative to the current working
directory. The option has precedence over *-D*.
*-C* 'dir', *--conf* 'dir'::
*-C* 'dir', *--confdir* 'dir'::
('also interactively') Specify the configuration directory to use. If not
specified, the default directory is *~/.calcurse/*. See <<_files,FILES>> for
the interaction with *-D*.
*-D* 'dir', *--directory* 'dir'::
*-D* 'dir', *--datadir* 'dir'::
('also interactively') Specify the (data) directory to use. If not specified,
the default directory is *~/.calcurse/*. See section <<_files,FILES>> for
the interaction with *-C*.
@@ -654,7 +654,7 @@ An alternative calendar file may be specified with the *-c* option.
Configuration files
~~~~~~~~~~~~~~~~~~~
The +conf+ file contains the user configuration and the +keys+ file
The +conf+ file contains the user configuration and the +keys+ file
the user-defined key bindings. The +hooks+ directory contains user-supplied
scripts, see <<_hooks,Hooks>>.