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")
6'>126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204