c5157c0334
Automatically generate constants for command and option names.
...
These constants are easier than using cfgOptionName() and cfgCommandName() and lead to cleaner code and simpler to construct messages.
String versions are provided. Eventually all the strings will be used in the config structures, but for now they are useful to avoid wrapping with strNew().
2019-04-12 09:03:34 -04:00
238e5dae3c
Allow resolve array from cd5df357
to autosize to detect short arrays in testing.
2018-08-14 17:17:14 -04:00
cd5df3570b
Validate configuration options in a single pass.
...
By pre-calculating and storing the option dependencies in parse.auto.c validation can be completed in a single pass, which is both simpler and faster.
2018-08-11 12:55:33 -04:00
7d13087c4b
Rename -no to -reset for non-boolean options.
2018-02-06 11:26:06 -05:00
be90028100
Rename db-* options to pg-* and backup-* options to repo-* to improve consistency.
...
* repo-* options are now indexed although only one is allowed.
* List deprecated option names in documentation and command-line help.
2018-02-03 18:27:38 -05:00
526acca5bd
Config parsing implemented in C.
2017-12-22 23:27:49 -05:00
8d4674031e
More config parsing in C in preparation for all config parsing in C.
2017-12-05 10:09:07 -05:00
915ae5662a
Implement version command in C.
2017-11-28 21:44:05 -05:00