Gentoo Archives: gentoo-user

From: cal@×××××××××.technology
To: gentoo-user@l.g.o
Cc: Jorge Almeida <jjalmeida@×××××.com>
Subject: Re: [gentoo-user] openrc -o
Date: Sat, 29 Aug 2020 18:45:52
Message-Id: beac2e2f914aa68da2965a6175359d9e@mail.meme.technology
In Reply to: [gentoo-user] openrc -o by Jorge Almeida
1 On 2020-08-29 04:51, Jorge Almeida wrote:
2 > The synopsis in the man page for openrc says
3 >
4 > openrc [-n, --no-stop] [-o, --override] [runlevel]
5 >
6 > but the text says nothing at all about the -o flag.
7 > Anyone knows what it does? I assume it was an oversight.
8 >
9 > Jorge Almeida
10
11 Indeed, it appears the man page doesn't explain this, but --help does:
12
13 Usage: openrc [options] [<runlevel>]
14
15 Options: [ a:no:s:SChqVv ]
16 -n, --no-stop do not stop any services
17 -o, --override <arg> override the next runlevel to change
18 into
19 when leaving single user or boot
20 runlevels
21 -s, --service <arg> runs the service specified with the
22 rest
23 of the arguments
24 -S, --sys output the RC system type, if any
25 -h, --help Display this help output
26 -C, --nocolor Disable color output
27 -V, --version Display software version
28 -v, --verbose Run verbosely
29 -q, --quiet Run quietly (repeat to suppress
30 errors)