diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-16 15:09:39 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-16 15:09:39 +0300 |
commit | 003fb850f911812538242ef2a2cac0915444f121 (patch) | |
tree | bd8107b9f50dcd54c7da4874d938a2c7274f1a41 /bin/ak-settings | |
parent | 35040ce82f432203182b2290bef4973bd11cae97 (diff) | |
download | arching-kaos-tools-003fb850f911812538242ef2a2cac0915444f121.tar.gz arching-kaos-tools-003fb850f911812538242ef2a2cac0915444f121.tar.bz2 arching-kaos-tools-003fb850f911812538242ef2a2cac0915444f121.zip |
updates: ak-settings
- completed help text
- returns error when a key isn't found while trying to get it
- returns a warning when overwritting an already set key
Diffstat (limited to 'bin/ak-settings')
-rwxr-xr-x | bin/ak-settings | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/ak-settings b/bin/ak-settings index e096ff4..7fe1ee2 100755 --- a/bin/ak-settings +++ b/bin/ak-settings @@ -6,6 +6,11 @@ ## ## -h, --help Prints this help message ## +## -g, --get [key] Gets all the settings or, in case key is set, +## returns only the key-value specified +## +## -s, --set <key> <value> Sets the settings.key to value +## fullprogrampath="$(realpath $0)" PROGRAM=$(basename $0) descriptionString="Settings helper program" |