summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/__init__.py2
-rw-r--r--ranger/core/helper.py5
2 files changed, 3 insertions, 4 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py
index 9247a121..a740c18a 100644
--- a/ranger/__init__.py
+++ b/ranger/__init__.py
@@ -25,7 +25,7 @@ MACRO_DELIMITER = '%'
 DEFAULT_PAGER = 'less'
 LOGFILE = '/tmp/ranger_errorlog'
 USAGE = '%prog [options] [path/filename]'
-STABLE = False
+VERSION = 'ranger-git based on %s' % __version__
 
 # If the environment variable XDG_CONFIG_HOME is non-empty, CONFDIR is ignored
 # and the configuration directory will be $XDG_CONFIG_HOME/ranger instead.
diff --git a/ranger/core/helper.py b/ranger/core/helper.py
index 233f1b8a..2487875d 100644
--- a/ranger/core/helper.py
+++ b/ranger/core/helper.py
@@ -6,7 +6,7 @@
 from errno import EEXIST
 import os.path
 import sys
-from ranger import CONFDIR, USAGE, STABLE, __version__
+from ranger import CONFDIR, USAGE, VERSION
 
 def parse_arguments():
 	"""Parse the program arguments"""
@@ -19,8 +19,7 @@ def parse_arguments():
 	else:
 		default_confdir = CONFDIR
 
-	parser = OptionParser(usage=USAGE, version='ranger %s%s' \
-			% (__version__, " (stable)" if STABLE else ""))
+	parser = OptionParser(usage=USAGE, version=VERSION)
 
 	parser.add_option('-d', '--debug', action='store_true',
 			help="activate debug mode")