Control: tags -1 patch

Helge,

On Wed, Dec 22, 2021 at 05:27:34PM +0100, Helge Kreutzmann wrote:
> clone 1001908 -1
> reassign -1 sysvinit-core

Thanks for this.

> Yes, this is the first bug, and it is in the original man page from 
> sysvinit-core:
> 
> SYNOPSIS
>        /sbin/shutdown [-akrhPHfFnc] [-t sec] time [warning message]
> 
> …
> 
>        -q     Reduce the number of warnings shutdown displays. Usually 
> shutdown displays warnings every 15 minutes and then every minute in the last 
> 10 minutes of the countdown until time is reached. When -q is specified 
> shutdown only
>               warns at 60 minute intervals, at the 10 minute mark, at the 5 
> minue mark, and when the shutdown process actually happens.
> 
>        -Q     Silence warnings prior to shutting down. Usually shutdown 
> displays warnings every 15 minutes and then every minute in the last 10 
> minutes of the countdown until time is reached. When -Q is specified shutdown 
>  only  warns
>               when the shutdown process actually happens. All other warning 
> intervals are suppressed.
> 
> (Btw. also the lower case "-q" is not in the SYNOPSIS).
> 
> This is the first bug, to be dealt with in sysvinit-core and once it
> has been fixed there, translations may follow.

I have queued a fix for this for the next upload. Proposed patch attached.

Jesse, presumably you will want to include this upstream too?

Thanks all.

Mark
>From 1fde7ad2660d5ad2de9552166c40989a70c3fff1 Mon Sep 17 00:00:00 2001
From: Mark Hindley <m...@hindley.org.uk>
Date: Wed, 22 Dec 2021 17:17:36 +0000
Subject: [PATCH] Add options -q and -Q, missing from shutdown(8) synopsis.

---
 man/shutdown.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/shutdown.8 b/man/shutdown.8
index b4b1d78d..06c9665d 100644
--- a/man/shutdown.8
+++ b/man/shutdown.8
@@ -26,7 +26,7 @@ shutdown \- bring the system down
 .\"{{{  Synopsis
 .SH SYNOPSIS
 .B /sbin/shutdown
-.RB [ \-akrhPHfFnc ]
+.RB [ \-akrhPHfFncqQ ]
 .RB [ \-t
 .IR sec ]
 .I time
-- 
2.20.1

Reply via email to