1 |
vapier 13/03/28 17:14:11 |
2 |
|
3 |
Modified: lddtree.py |
4 |
Log: |
5 |
lddtree.py: drop superfluous () around help strings |
6 |
|
7 |
Revision Changes Path |
8 |
1.35 pax-utils/lddtree.py |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/lddtree.py?rev=1.35&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/lddtree.py?rev=1.35&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-projects/pax-utils/lddtree.py?r1=1.34&r2=1.35 |
13 |
|
14 |
Index: lddtree.py |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-projects/pax-utils/lddtree.py,v |
17 |
retrieving revision 1.34 |
18 |
retrieving revision 1.35 |
19 |
diff -u -r1.34 -r1.35 |
20 |
--- lddtree.py 28 Mar 2013 01:17:14 -0000 1.34 |
21 |
+++ lddtree.py 28 Mar 2013 17:14:10 -0000 1.35 |
22 |
@@ -3,7 +3,7 @@ |
23 |
# Copyright 2012 Mike Frysinger <vapier@g.o> |
24 |
# Use of this source code is governed by a BSD-style license (BSD-3) |
25 |
# pylint: disable=C0301 |
26 |
-# $Header: /var/cvsroot/gentoo-projects/pax-utils/lddtree.py,v 1.34 2013/03/28 01:17:14 vapier Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-projects/pax-utils/lddtree.py,v 1.35 2013/03/28 17:14:10 vapier Exp $ |
28 |
|
29 |
# TODO: Handle symlinks. |
30 |
|
31 |
@@ -374,7 +374,7 @@ |
32 |
|
33 |
|
34 |
def _ShowVersion(_option, _opt, _value, _parser): |
35 |
- d = '$Id: lddtree.py,v 1.34 2013/03/28 01:17:14 vapier Exp $'.split() |
36 |
+ d = '$Id: lddtree.py,v 1.35 2013/03/28 17:14:10 vapier Exp $'.split() |
37 |
print('%s-%s %s %s' % (d[1].split('.')[0], d[2], d[3], d[4])) |
38 |
sys.exit(0) |
39 |
|
40 |
@@ -536,44 +536,44 @@ |
41 |
they need will be placed into /foo/lib/ only.""") |
42 |
parser.add_option('-a', '--all', |
43 |
action='store_true', default=False, |
44 |
- help=('Show all duplicated dependencies')) |
45 |
+ help='Show all duplicated dependencies') |
46 |
parser.add_option('-R', '--root', |
47 |
default=os.environ.get('ROOT', ''), type='string', |
48 |
action='callback', callback=_NormalizePath, |
49 |
- help=('Search for all files/dependencies in ROOT')) |
50 |
+ help='Search for all files/dependencies in ROOT') |
51 |
parser.add_option('--no-auto-root', |
52 |
dest='auto_root', action='store_false', default=True, |
53 |
- help=('Do not automatically prefix input ELFs with ROOT')) |
54 |
+ help='Do not automatically prefix input ELFs with ROOT') |
55 |
parser.add_option('--copy-to-tree', |
56 |
dest='dest', default=None, type='string', |
57 |
action='callback', callback=_NormalizePath, |
58 |
- help=('Copy all files to the specified tree')) |
59 |
+ help='Copy all files to the specified tree') |
60 |
parser.add_option('--bindir', |
61 |
default=None, type='string', |
62 |
action='callback', callback=_NormalizePath, |
63 |
- help=('Dir to store all ELFs specified on the command line')) |
64 |
+ help='Dir to store all ELFs specified on the command line') |
65 |
parser.add_option('--libdir', |
66 |
default=None, type='string', |
67 |
action='callback', callback=_NormalizePath, |
68 |
- help=('Dir to store all ELF libs')) |
69 |
+ help='Dir to store all ELF libs') |
70 |
parser.add_option('--generate-wrappers', |
71 |
action='store_true', default=False, |
72 |
- help=('Wrap executable ELFs with scripts for local ldso')) |
73 |
+ help='Wrap executable ELFs with scripts for local ldso') |
74 |
parser.add_option('--copy-non-elfs', |
75 |
action='store_true', default=False, |
76 |
- help=('Copy over plain (non-ELF) files instead of warn+ignore')) |
77 |
+ help='Copy over plain (non-ELF) files instead of warn+ignore') |
78 |
parser.add_option('-l', '--list', |
79 |
action='store_true', default=False, |
80 |
- help=('Display output in a simple list (easy for copying)')) |
81 |
+ help='Display output in a simple list (easy for copying)') |
82 |
parser.add_option('-x', '--debug', |
83 |
action='store_true', default=False, |
84 |
- help=('Run with debugging')) |
85 |
+ help='Run with debugging') |
86 |
parser.add_option('-v', '--verbose', |
87 |
action='store_true', default=False, |
88 |
- help=('Be verbose')) |
89 |
+ help='Be verbose') |
90 |
parser.add_option('-V', '--version', |
91 |
action='callback', callback=_ShowVersion, |
92 |
- help=('Show version information')) |
93 |
+ help='Show version information') |
94 |
(options, paths) = parser.parse_args(argv) |
95 |
|
96 |
if options.root != '/': |