Add option to specify the configuration file used

The configuration file (~/.calcurse/conf by default) can now be
specified with -C or --conf.

Workaround for GitHub issue #86.

Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
Quentin Hibon
2018-05-27 10:05:56 +02:00
committed by Lukas Fleischer
parent 574156be7c
commit 407d5abd23
3 changed files with 21 additions and 8 deletions

View File

@@ -841,7 +841,7 @@ void ical_export_data(FILE *, int);
/* io.c */
unsigned io_fprintln(const char *, const char *, ...);
void io_init(const char *, const char *);
void io_init(const char *, const char *, const char *);
void io_extract_data(char *, const char *, int);
void io_dump_apts(const char *, const char *, const char *, const char *);
unsigned io_save_apts(const char *);