Pārlūkot izejas kodu

* utils/start-stop-daemon.c: Don't require an argument for -V (version).

Scott James Remnant 22 gadi atpakaļ
vecāks
revīzija
af34660038
3 mainītis faili ar 6 papildinājumiem un 2 dzēšanām
  1. 4 0
      ChangeLog
  2. 1 1
      debian/changelog
  3. 1 1
      utils/start-stop-daemon.c

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+Fri Mar 12 15:05:52 GMT 2004 Scott James Remnant <scott@netsplit.com>
+
+  * utils/start-stop-daemon.c: Don't require an argument for -V (version).
+
 Thu Mar 11 11:36:06 GMT 2004 Scott James Remnant <scott@netsplit.com>
 
   * version-nr, debian/changelog: Bump version to 1.10.21.

+ 1 - 1
debian/changelog

@@ -1,6 +1,6 @@
 dpkg (1.10.21) unstable; urgency=low
 
-  * 
+  * Don't require argument for start-stop-daemon -V.  Closes: #237589.
 
  -- Scott James Remnant <scott@netsplit.com>  UNRELEASED
 

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

@@ -474,7 +474,7 @@ parse_options(int argc, char * const *argv)
 	int c;
 
 	for (;;) {
-		c = getopt_long(argc, argv, "HKSV:a:n:op:qr:s:tu:vx:c:N:bmR:g:d:",
+		c = getopt_long(argc, argv, "HKSVa:n:op:qr:s:tu:vx:c:N:bmR:g:d:",
 				longopts, (int *) 0);
 		if (c == -1)
 			break;