From: Zac Medico Date: Sat, 6 Aug 2011 05:16:31 +0000 (-0700) Subject: portageq: fix short help display for leading \n X-Git-Tag: v2.2.0_alpha51~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0db6b43feed351aaa47554f51bf46aa18a5009cc;p=portage.git portageq: fix short help display for leading \n --- diff --git a/bin/portageq b/bin/portageq index fa3a0d019..57a7c3910 100755 --- a/bin/portageq +++ b/bin/portageq @@ -731,7 +731,7 @@ def usage(argv): print("") continue - lines = doc.split("\n") + lines = doc.lstrip("\n").split("\n") print(" " + name + " " + lines[0].strip()) if (len(sys.argv) > 1): if (not help_mode):