multini/doc/README

23 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-04-25 23:42:14 +00:00
A utility for manipulating ini files with duplicate keys
2020-12-17 18:18:14 +00:00
Usage: multini [OPTION]... [ACTION] config_file [section] [key] [value]
2020-04-25 23:42:14 +00:00
Actions:
2020-04-27 11:37:38 +00:00
-g, --get Get values for a given combination of parameters.
-s, --set Set values for a given combination of parameters.
-a, --add Add values for a given combination of parameters.
-d, --del Delete the given combination of parameters.
-c, --chk Display parsing errors for the specified file.
2020-04-25 23:42:14 +00:00
Options:
-e, --existing For --set and --del, fail if item is missing.
2020-04-27 11:37:38 +00:00
-r, --reverse For --add, adds an item to the top of the section
2020-04-25 23:42:14 +00:00
-i, --inplace Lock and write files in place.
This is not atomic but has less restrictions
than the default replacement method.
-o, --output FILE Write output to FILE instead. '-' means stdout
-u, --unix Use LF as end of line
-w, --windows Use CRLF as end of line
2020-04-27 11:37:38 +00:00
-q, --quiet Suppress all normal output
2020-04-25 23:42:14 +00:00
-h, --help Write this help to stdout
--version Write version to stdout