Selaa lähdekoodia

dpkg-query: Remove trailing newlines from badusage output

Guillem Jover 18 vuotta sitten
vanhempi
commit
037c2bc44c
2 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 4 0
      ChangeLog
  2. 1 2
      src/query.c

+ 4 - 0
ChangeLog

@@ -1,3 +1,7 @@
+2008-06-28  Guillem Jover  <guillem@debian.org>
+
+	* src/query.c (printforhelp): Remove trailing newlines.
+
 2008-06-27  Guillem Jover  <guillem@debian.org>
 
 	* dpkg-deb/build.c (do_build): Move string translation markers outside

+ 1 - 2
src/query.c

@@ -522,8 +522,7 @@ usage(void)
 const char thisname[]= "dpkg-query";
 const char printforhelp[]= N_("\
 Use --help for help about querying packages;\n\
-Use --license for copyright license and lack of warranty (GNU GPL).\n\
-\n");
+Use --license for copyright license and lack of warranty (GNU GPL).");
 
 const struct cmdinfo *cipaction= 0;
 int f_pending=0, f_recursive=0, f_alsoselect=1, f_skipsame=0, f_noact=0;