aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2025-08-16 14:02:31 +0100
committerTomasz Kramkowski <tomasz@kramkow.ski>2025-08-16 14:02:31 +0100
commit166a9ae8efddeb7d134ee5f1c0cadea314880dea (patch)
tree5946d1f14f2e3b0508387555d1775113591e3ff0
parent22169b99b7756349baddae84b2b4e058acce5599 (diff)
downloadkutter-166a9ae8efddeb7d134ee5f1c0cadea314880dea.tar.gz
kutter-166a9ae8efddeb7d134ee5f1c0cadea314880dea.tar.xz
kutter-166a9ae8efddeb7d134ee5f1c0cadea314880dea.zip
Change --runtime-config,-R to --saved-config,-S
This naming makes more sense in retrospect.
-rw-r--r--CHANGELOG.md4
-rw-r--r--klippy/klippy.py8
2 files changed, 6 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ea439680..f4cfce6c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,8 +16,8 @@ Most changes are breaking.
### Changed
* The config file is no longer modified by `SAVE_CONFIG`. Instead the file
- `/var/run/kutter/run.cfg` will contain the data which previously would be
- placed at the end of `SAVE_CONFIG`. The `--runtime-config` (short: `-R`)
+ `/var/run/kutter/saved.cfg` will contain the data which previously would be
+ placed at the end of `SAVE_CONFIG`. The `--saved-config` (short: `-S`)
option can be used to change the location.
* The makefiles in `klippy/chelper` and `lib/hub-ctrl` are now used to build he
respective `c_helper.so` and `hub-ctrl`.
diff --git a/klippy/klippy.py b/klippy/klippy.py
index 7931bb10..f0092416 100644
--- a/klippy/klippy.py
+++ b/klippy/klippy.py
@@ -316,10 +316,10 @@ def main():
help="api server unix domain socket filename",
)
opts.add_option(
- "-R",
- "--runtime-config",
- default="/var/run/kutter/run.cfg",
- help="path to where SAVE_CONFIG should store the runtime configuration",
+ "-S",
+ "--saved-config",
+ default="/var/run/kutter/saved.cfg",
+ help="path to where SAVE_CONFIG should save configuration",
)
opts.add_option(
"-v", action="store_true", dest="verbose", help="enable debug messages"