docs: update README

This commit is contained in:
GenZmeY 2020-04-27 14:37:38 +03:00
parent 702cd21256
commit 805813201e

14
README
View File

@ -2,21 +2,21 @@ A utility for manipulating ini files with duplicate keys
Usage: multini [OPTION]... [ACTION] config_file [section] [param] [value]
Actions:
-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.
-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.
Options:
-e, --existing For --set and --del, fail if item is missing.
-r, --reverse For --add, adds an item to the top of the section
-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
-q, --quiet Suppress all normal output
-h, --help Write this help to stdout
--version Write version to stdout
2020 (c) GenZmeY