Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils: config_file: fix handling of workdir,W in the YAML file
Option names given in db/config.cc are handled for the command line by passing them to boost::program_options, and by YAML by comparing them with YAML keys. boost::program_options has logic for understanding the long_name,short_name syntax, so for a "workdir,W" option both --workdir and -W worked, as intended. But our YAML config parsing doesn't have this logic and expected "workdir,W" verbatim, which is obviously not intended. Fix that. Fixes scylladb#7478 Fixes scylladb#9500 Fixes scylladb#11503 Closes scylladb#11506
- Loading branch information