projects
/
update-copyright.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f4d33e
)
Cleanup help strings in bin/update-copyright.py.
author
W. Trevor King
<wking@drexel.edu>
Thu, 16 Feb 2012 14:10:16 +0000
(09:10 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 16 Feb 2012 14:10:16 +0000
(09:10 -0500)
bin/update-copyright.py
patch
|
blob
|
history
diff --git
a/bin/update-copyright.py
b/bin/update-copyright.py
index 9394243025e16347dcdeab9696f0c13b9b19ec9a..c2919396ef0a7dcb1ff697349bb25b6d35ac9ceb 100755
(executable)
--- a/
bin/update-copyright.py
+++ b/
bin/update-copyright.py
@@
-28,8
+28,8
@@
Replaces every line starting with ``^# Copyright`` and continuing with
line between the blurb and your comment, so the next run of
``update_copyright.py`` doesn't clobber your comment.
line between the blurb and your comment, so the next run of
``update_copyright.py`` doesn't clobber your comment.
-If no files are given, a list of files to update is generated
-
automatically
.
+You should configure this program via an ``.update-copyright.conf``
+
file in your project root
.
"""
import logging as _logging
"""
import logging as _logging
@@
-42,7
+42,7
@@
if __name__ == '__main__':
import optparse
import sys
import optparse
import sys
- usage = "%
%
prog [options] [file ...]"
+ usage = "%prog [options] [file ...]"
p = optparse.OptionParser(usage=usage, description=__doc__)
p.add_option('--config', dest='config', default='.update-copyright.conf',
p = optparse.OptionParser(usage=usage, description=__doc__)
p.add_option('--config', dest='config', default='.update-copyright.conf',