aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bachelier <laurent@bachelier.name>2013-02-10 17:10:07 +0100
committerLaurent Bachelier <laurent@bachelier.name>2013-02-10 17:10:07 +0100
commit32ef480717b473f74286a27a431eb255d4851044 (patch)
tree005d23320e1e34c28a95375e2bb45f55217dad4c
parentIt's an executable, no need for extension (diff)
downloadrencon-32ef480717b473f74286a27a431eb255d4851044.tar.xz
Fix style
-rwxr-xr-xrencon6
1 files changed, 3 insertions, 3 deletions
diff --git a/rencon b/rencon
index a84ea09..f36bba1 100755
--- a/rencon
+++ b/rencon
@@ -10,11 +10,11 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser(description='Rename files based on content.')
parser.add_argument('files', metavar='FILE', type=str, nargs='+',
- help='Files to rename')
+ help='Files to rename')
parser.add_argument('-m', '--mask', nargs='?',
- help='File destination mask', default='${hash}.${ext}')
+ help='File destination mask', default='${hash}.${ext}')
parser.add_argument('-p', '--pretend', action='store_true',
- help='Do not rename, just print')
+ help='Do not rename, just print')
args = parser.parse_args()
print 'Renaming with mask: %s' % args.mask