Subject: openrc: incorrect help message

From: meow <[email-masked]>
Date: Sun, 19 Nov 2023 07:02:39 +0000

Package: openrc
Version: 0.45.2-2
Severity: minor
Tags: upstream

Dear Maintainer,
when I run the command 'openrc --help' the description of the functions is not correct.
$ openrc --help
Usage: openrc [options] [<runlevel>]
Options: [ a:no:s:SChqVv ]
  -n, --no-stop                     do not stop any services

  -o, --override <arg>              override the next runlevel to change into
                                      -s, --service <arg>               when leaving single user or boot runlevels

  -S, --sys                         runs the service specified with the rest
                                    of the arguments

  -h, --help                        output the RC system type, if any <-- INCORRECT
  -C, --nocolor                     Display this help output <-- INCORRECT

  -V, --version                     Disable color output <-- INCORRECT

  -v, --verbose                     Display software version <-- INCORRECT

  -q, --quiet                       Run verbosely <-- INCORRECT

steps to reproduce: run command 'openrc --help'.

-- System Information:
Distributor ID: Devuan
Description:	Devuan GNU/Linux 5 (daedalus)
Release:	5
Codename:	daedalus
Architecture: x86_64

Kernel: Linux 6.1.0-13-amd64 (SMP w/6 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: OpenRC (via /run/openrc), PID 1: openrc-init

Versions of packages openrc depends on:
ii  insserv      1.24.0-1
ii  libaudit1    1:3.0.9-1
ii  libc6        2.36-9+deb12u3
ii  libeinfo1    0.45.2-2
ii  libpam0g     1.5.2-6+deb12u1
ii  librc1       0.45.2-2
ii  libselinux1  3.4-1+b6

openrc recommends no packages.

Versions of packages openrc suggests:
pn  policycoreutils  <none>
ii  sysvinit-core    3.06-4devuan3

-- Configuration Files:
/etc/init.d/agetty [Errno 13] Permission denied: '/etc/init.d/agetty'
/etc/init.d/cgroups [Errno 13] Permission denied: '/etc/init.d/cgroups'
/etc/init.d/rc [Errno 13] Permission denied: '/etc/init.d/rc'
/etc/init.d/rcS [Errno 13] Permission denied: '/etc/init.d/rcS'
/etc/init.d/savecache [Errno 13] Permission denied: '/etc/init.d/savecache'
/etc/rc.conf changed [not included]

-- debconf-show failed