bin: new storage path option -b/--storage_path
@@ -121,7 +121,7 @@ static void flb_help(int rc, struct flb_config *config)
printf("Usage: fluent-bit [OPTION]\n\n");
printf("%sAvailable Options%s\n", ANSI_BOLD, ANSI_RESET);
- printf(" -b --buf_path=PATH\tspecify a buffering path\n");
+ printf(" -b --storage_path=PATH\tspecify a storage buffering path\n");
printf(" -c --config=FILE\tspecify an optional configuration file\n");
#ifdef FLB_HAVE_FORK
printf(" -d, --daemon\t\trun Fluent Bit in background mode\n");
@@ -584,8 +584,7 @@ int main(int argc, char **argv)
#ifndef _WIN32
/* Setup long-options */
static const struct option long_opts[] = {
- { "buf_path", required_argument, NULL, 'b' },
- { "buf_workers", required_argument, NULL, 'B' },
+ { "storage_path", required_argument, NULL, 'b' },
{ "config", required_argument, NULL, 'c' },
#ifdef FLB_HAVE_FORK
{ "daemon", no_argument , NULL, 'd' },
@@ -651,13 +650,13 @@ int main(int argc, char **argv)
/* Parse the command line options */
while ((opt = getopt_long(argc, argv,
- "b:B:c:df:i:m:o:R:F:p:e:"
+ "b:c:df:i:m:o:R:F:p:e:"
"t:l:vqVhL:HP:s:S",
long_opts, NULL)) != -1) {
switch (opt) {
case 'b':
- config->buffer_path = flb_strdup(optarg);
+ config->storage_path = flb_strdup(optarg);
break;
case 'c':
cfg_file = flb_strdup(optarg);
