diff options
-rw-r--r-- | doc/rifle.1 | 2 | ||||
-rwxr-xr-x | ranger/ext/rifle.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/doc/rifle.1 b/doc/rifle.1 index 2cfaed65..87578c4c 100644 --- a/doc/rifle.1 +++ b/doc/rifle.1 @@ -124,7 +124,7 @@ .\" ======================================================================== .\" .IX Title "RIFLE 1" -.TH RIFLE 1 "rifle-1.5.5" "02/18/2013" "rifle manual" +.TH RIFLE 1 "rifle-1.6.0" "03/01/2013" "rifle manual" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py index fc3a7de6..61961c16 100755 --- a/ranger/ext/rifle.py +++ b/ranger/ext/rifle.py @@ -19,6 +19,8 @@ import re from subprocess import Popen, PIPE import sys +__version__ = 'rifle 1.6.0' + # Options and constants that a user might want to change: DEFAULT_PAGER = 'less' DEFAULT_EDITOR = 'nano' @@ -383,7 +385,7 @@ def main(): # Evaluate arguments from optparse import OptionParser - parser = OptionParser(usage="%prog [-fhlpw] [files]") + parser = OptionParser(usage="%prog [-fhlpw] [files]", version=__version__) parser.add_option('-f', type="string", default="", metavar="FLAGS", help="use additional flags: f=fork, r=root, t=terminal. " "Uppercase flag negates respective lowercase flags.") |