summaryrefslogtreecommitdiff
path: root/debian/patches/01-usage_strings.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/01-usage_strings.diff')
-rw-r--r--debian/patches/01-usage_strings.diff35
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/01-usage_strings.diff b/debian/patches/01-usage_strings.diff
new file mode 100644
index 0000000..e9c4cda
--- /dev/null
+++ b/debian/patches/01-usage_strings.diff
@@ -0,0 +1,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);
+ }
+