summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
71d6263)
Parsing is broken since:
386ecab4 Reading configuration file is now done outside main().
So after mentioned commit we've got:
collectd: invalid option -- 'B'
This commit fixes this.
static void read_cmdline(int argc, char **argv, struct cmdline_config *config) {
/* read options */
while (1) {
static void read_cmdline(int argc, char **argv, struct cmdline_config *config) {
/* read options */
while (1) {
- int c = getopt(argc, argv, "htTC:"
+ int c = getopt(argc, argv, "BhtTC:"
#if COLLECT_DAEMON
"fP:"
#endif
#if COLLECT_DAEMON
"fP:"
#endif