aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2026-04-07 13:28:14 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2026-04-07 13:28:14 +0000
commit5169c7f7d102848f4a01ed891ea20b2f3ff4a021 (patch)
treed109f84e785ccaf6232663a2c3edb55cb59822b4
parent3d0f074be5142c32933d7035a52a71f022b403ef (diff)
downloads6-frontend-5169c7f7d102848f4a01ed891ea20b2f3ff4a021.tar.gz
Add s6 l, s6 p, s6 proc, s6 r, s6 repo aliases
-rw-r--r--doc/s6_live.html4
-rw-r--r--doc/s6_process.html4
-rw-r--r--doc/s6_repository.html4
-rw-r--r--src/s6-frontend/s6-frontend.c5
4 files changed, 17 insertions, 0 deletions
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 <em>subcommand</em> [ <em>subcommand_options...</em> ] [ <em>args...</em> ]
</pre>
+<ul>
+ <li> <tt>s6 l</tt> is accepted as an alias for <tt>s6 live</tt>. </li>
+</ul>
+
<h2 id="subcommands"> Subcommands </h2>
<h3 id="help"> help </h3>
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 <code>s6-svc -r /run/service/foobar</code>, the user can type
s6 process <em>subcommand</em> [ <em>subcommand_options...</em> ] [ <em>args...</em> ]
</pre>
+<ul>
+ <li> <tt>s6 proc</tt> and <tt>s6 p</tt> are accepted as aliases for <tt>s6 process</tt>. </li>
+</ul>
+
<h2 id="subcommands"> Subcommands </h2>
<h3 id="help"> help </h3>
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 <em>subcommand</em> [ <em>subcommand_options...</em> ] [ <em>args...</em> ]
</pre>
+<ul>
+ <li> <tt>s6 repo</tt> and <tt>s6 r</tt> are accepted as aliases for <tt>s6 repository</tt>. </li>
+</ul>
+
<h2 id="subcommands"> Subcommands </h2>
<h3 id="help"> help </h3>
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 },