From 5169c7f7d102848f4a01ed891ea20b2f3ff4a021 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 7 Apr 2026 13:28:14 +0000 Subject: Add s6 l, s6 p, s6 proc, s6 r, s6 repo aliases --- doc/s6_live.html | 4 ++++ doc/s6_process.html | 4 ++++ doc/s6_repository.html | 4 ++++ src/s6-frontend/s6-frontend.c | 5 +++++ 4 files changed, 17 insertions(+) diff --git a/doc/s6_live.html b/doc/s6_live.html index 490a0d6..ce716b9 100644 --- a/doc/s6_live.html +++ b/doc/s6_live.html @@ -41,6 +41,10 @@ graph. s6 live subcommand [ subcommand_options... ] [ args... ] + +

Subcommands

help

diff --git a/doc/s6_process.html b/doc/s6_process.html index 92000d6..025409a 100644 --- a/doc/s6_process.html +++ b/doc/s6_process.html @@ -45,6 +45,10 @@ Instead of s6-svc -r /run/service/foobar, the user can type s6 process subcommand [ subcommand_options... ] [ args... ] + +

Subcommands

help

diff --git a/doc/s6_repository.html b/doc/s6_repository.html index b977814..b9aa06a 100644 --- a/doc/s6_repository.html +++ b/doc/s6_repository.html @@ -41,6 +41,10 @@ and triggered by specific events like package installation or updates. s6 repository subcommand [ subcommand_options... ] [ args... ] + +

Subcommands

help

diff --git a/src/s6-frontend/s6-frontend.c b/src/s6-frontend/s6-frontend.c index 228abe4..df25e79 100644 --- a/src/s6-frontend/s6-frontend.c +++ b/src/s6-frontend/s6-frontend.c @@ -99,8 +99,13 @@ int main (int argc, char const *const *argv) static struct command_s const commands[] = { { .s = "help", .f = &main_help }, + { .s = "l", .f = &live }, { .s = "live", .f = &live }, + { .s = "p", .f = &process }, + { .s = "proc", .f = &process }, { .s = "process", .f = &process }, + { .s = "r", .f = &repository }, + { .s = "repo", .f = &repository }, { .s = "repository", .f = &repository }, { .s = "set", .f = &set }, { .s = "system", .f = &s6system }, -- cgit v1.3.1