Просмотр исходного кода

s-s-d: Recognize -C as documented

Closes: #719746

Spotted-by: "Brian S. Julin" <bri@abrij.org>
Guillem Jover лет назад: 13
Родитель
Сommit
c23a480b1d
2 измененных файлов с 3 добавлено и 1 удалено
  1. 2 0
      debian/changelog
  2. 1 1
      utils/start-stop-daemon.c

+ 2 - 0
debian/changelog

@@ -42,6 +42,8 @@ dpkg (1.17.2) UNRELEASED; urgency=low
     Based on a patch by Changwoo Ryu <cwryu@debian.org>.
   * Use fully buffered output on non-tty stdout.
     Reported by Shawn Landden <shawnlandden@gmail.com>.
+  * Recognize «start-stop-daemon -C» as documented. Closes: #719746
+    Reported by Brian S. Julin <bri@abrij.org>.
 
   [ Updated programs translations ]
   * German (Sven Joachim).

+ 1 - 1
utils/start-stop-daemon.c

@@ -833,7 +833,7 @@ parse_options(int argc, char * const *argv)
 
 	for (;;) {
 		c = getopt_long(argc, argv,
-		                "HKSVTa:n:op:qr:s:tu:vx:c:N:P:I:k:bmR:g:d:",
+		                "HKSVTa:n:op:qr:s:tu:vx:c:N:P:I:k:bCmR:g:d:",
 		                longopts, NULL);
 		if (c == -1)
 			break;