summaryrefslogtreecommitdiff
path: root/debian/patches/01-usage_strings.diff
blob: e9c4cda5069fa5af6f71aae1e72704fb9514e9bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Description: Forgotten update of usage strings.
 The executables downtimed(8) and downtimes(1)
 have gained the ability to change format string
 in a command line option.  The executables' usage
 texts did not reflect this ability.
Author: Mats Erik Andersson <debian@gisladisker.se>
Forwarded: yes
Last-Update: 2013-11-29

--- downtimed-0.6/downtimed.c.orig	2013-07-27 16:46:06.000000000 +0200
+++ downtimed-0.6/downtimed.c	2013-11-29 09:08:13.000000000 +0100
@@ -695,8 +695,8 @@ static void
 usage()
 {
 
-	fputs("usage: " PROGNAME " [-DvS] [-d datadir] [-l log] [-p pidfile] "
-	    "[-s sleep]\n", stderr);
+	fputs("usage: " PROGNAME " [-DvS] [-d datadir] [-f timefmt] "
+	    "[-l log] [-p pidfile] [-s sleep]\n", stderr);
 	exit(EX_USAGE);
 }
 
--- downtimed-0.6/downtimes.c.orig	2013-07-27 16:46:21.000000000 +0200
+++ downtimed-0.6/downtimes.c	2013-11-29 09:08:08.000000000 +0100
@@ -194,8 +194,8 @@ static void
 usage()
 {
 
-	fputs("usage: " PROGNAME " [-v] [-d downtimedbfile] [-n num] "
-	    "[-s sleep] [-u]\n", stderr);
+	fputs("usage: " PROGNAME " [-v] [-d downtimedbfile] [-f timefmt] "
+	    "[-n num] [-s sleep] [-u]\n", stderr);
 	exit(EX_USAGE);
 }