File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 22
33void print_help_message (char const *program_name)
44{
5- std::cout << " Usage: " << std::string (program_name) << R"( [json_or_toml]+
5+ std::cout << " Merge multiple JSON/TOML files into one.\n Usage: "
6+ << std::string (program_name) << R"( [json_or_toml]+
67'json_or_toml' can be a JSON or TOML dataset specified inline or a reference
78to a file prepended by an '@'.
89Inline datasets will be interpreted as JSON if they start with an '{', as TOML
910otherwise. Datasets from a file will be interpreted as JSON or TOML depending
1011on the file ending '.json' or '.toml' respectively.
11- Inline dataset specifications can be replaced by input read from stdin.
12+
13+ In order to support large numbers of files to be merged, the paths to those
14+ files can also be specified line-by-line per stdin, replacing the limitations
15+ of command line arguments.
1216
1317If the JSON/TOML files are mixed, then the output type (JSON or TOML) will be
1418determined by the type of the first file.
You can’t perform that action at this time.
0 commit comments