summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/__init__.py1
-rw-r--r--ranger/core/helper.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py
index f321ee4f..ae467b30 100644
--- a/ranger/__init__.py
+++ b/ranger/__init__.py
@@ -36,6 +36,7 @@ TIME_BEFORE_FILE_BECOMES_GARBAGE = 1200
 MACRO_DELIMITER = '%'
 LOGFILE = '/tmp/ranger_errorlog'
 USAGE = '%prog [options] [path/filename]'
+STABLE = False
 
 # 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 46d35f7a..c22a52b8 100644
--- a/ranger/core/helper.py
+++ b/ranger/core/helper.py
@@ -32,7 +32,8 @@ def parse_arguments():
 	else:
 		default_confdir = CONFDIR
 
-	parser = OptionParser(usage=USAGE, version='ranger '+__version__)
+	parser = OptionParser(usage=USAGE, version='ranger %s%s' \
+			% (__version__, " (stable)" if STABLE else ""))
 
 	parser.add_option('-d', '--debug', action='store_true',
 			help="activate debug mode")