From 90d68f25100e5adb85b246b483d154847e6cb230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Wed, 19 Aug 2026 18:10:28 +0200 Subject: [PATCH] Fix prettier formatting CI caught this on the v1.1.0 tag push - format:check wasn't run locally before committing. --- README.md | 2 +- src/cli/index.ts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d15d4ee..921fa7b 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ the script — always as a discrete argv element or env var, never interpolated | `triggershell service install [--system]` | Install a systemd unit that runs `triggershell start` (per-user by default, Linux only) | | `triggershell service uninstall [--system]` | Stop, disable, and remove the systemd unit | | `triggershell service status [--system]` | Show the systemd unit's status | -| `triggershell service logs [-n LINES] [--no-follow] [--system]` | Tail the systemd unit's logs (wraps `journalctl -o cat`, so each line is raw JSON - pipe through `jq` for pretty-printing) | +| `triggershell service logs [-n LINES] [--no-follow] [--system]` | Tail the systemd unit's logs (wraps `journalctl -o cat`, so each line is raw JSON - pipe through `jq` for pretty-printing) | ### Running scripts from the CLI diff --git a/src/cli/index.ts b/src/cli/index.ts index c538bfc..de65ffd 100644 --- a/src/cli/index.ts +++ b/src/cli/index.ts @@ -184,10 +184,8 @@ service service .command("logs") .description("Tail the systemd unit's logs (journalctl).") - .option( - "-n, --lines ", - "Number of recent log lines to show.", - (v) => Number(v), + .option("-n, --lines ", "Number of recent log lines to show.", (v) => + Number(v), ) .option( "--no-follow",