projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3acce84
)
portageq: fix short help display for leading \n
author
Zac Medico
<zmedico@gentoo.org>
Sat, 6 Aug 2011 05:16:31 +0000
(22:16 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 6 Aug 2011 05:16:31 +0000
(22:16 -0700)
bin/portageq
patch
|
blob
|
history
diff --git
a/bin/portageq
b/bin/portageq
index fa3a0d019d378ea8e11c21d3c21c472ec2edf663..57a7c3910f3997b8a93fff14565699f0632008b7 100755
(executable)
--- 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):