From 0db6b43feed351aaa47554f51bf46aa18a5009cc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 5 Aug 2011 22:16:31 -0700 Subject: [PATCH] portageq: fix short help display for leading \n --- bin/portageq | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.26.2