From be933c0aa01d21c55fd8ebb1f710def8a4614fdf Mon Sep 17 00:00:00 2001 From: Geoffrey Churchill Date: Thu, 21 May 2026 10:33:36 -0400 Subject: [PATCH] Put `events` subcommand help in alphabetical order --- libshpool/src/lib.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libshpool/src/lib.rs b/libshpool/src/lib.rs index 9e0b8cbd..65771200 100644 --- a/libshpool/src/lib.rs +++ b/libshpool/src/lib.rs @@ -207,6 +207,14 @@ environment.")] sessions: Vec, }, + #[clap(about = "Subscribe to the daemon's push-event stream + +Connects to the events socket and writes each event (one JSON object +per line) to stdout, flushing after every line so the stream is +pipeline-friendly (e.g. `shpool events | jq`). See EVENTS.md for +details.")] + Events, + #[clap(about = "Kill the given sessions This detaches the session if it is attached and kills the underlying @@ -255,14 +263,6 @@ you could just do `shpool var set workspace key-bugfix`. #[clap(subcommand)] command: VarCommands, }, - - #[clap(about = "Subscribe to the daemon's push-event stream - -Connects to the events socket and writes each event (one JSON object -per line) to stdout, flushing after every line so the stream is -pipeline-friendly (e.g. `shpool events | jq`). See EVENTS.md for -details.")] - Events, } /// The subcommds of the var command.