@andersbakken/fisk 4.0.53 → 4.0.54

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3385,7 +3385,7 @@ class Slots extends EventEmitter__default["default"] {
3385
3385
  }
3386
3386
 
3387
3387
  const Version = 5;
3388
- const ObjectCacheFormatVersion = 1;
3388
+ const ObjectCacheFormatVersion = 2;
3389
3389
  function cacheDir(option) {
3390
3390
  let dir = option("cache-dir");
3391
3391
  if (!dir) {
@@ -4110,6 +4110,20 @@ function createOptions (optionsOptions, argv) {
4110
4110
  });
4111
4111
  }
4112
4112
 
4113
+ if (process.argv.includes("--help") || process.argv.includes("-h")) {
4114
+ console.log(`Usage: fisk-daemon [options]
4115
+
4116
+ Options:
4117
+ --debug Enable debug logging
4118
+ --socket=PATH Unix socket path (default: ~/.cache/fisk/daemon/socket)
4119
+ --cpp-slots=N Preprocess slot count (default: cpus * 2)
4120
+ --slots=N Compile slot count (default: cpus)
4121
+ --cache-dir=PATH Cache directory (default: ~/.cache/fisk/daemon)
4122
+
4123
+ Config files: ~/.config/fisk/daemon.conf, /etc/xdg/fisk/daemon.conf
4124
+ Environment variables: FISK_DAEMON_DEBUG, FISK_DAEMON_SLOTS, etc.`);
4125
+ process.exit(0);
4126
+ }
4113
4127
  const option = createOptions({
4114
4128
  prefix: "fisk/daemon",
4115
4129
  noApplicationPath: true,