diff options
author | hut <hut@lavabit.com> | 2009-07-30 07:00:02 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-07-30 07:00:02 +0200 |
commit | 7dcd22c1e28c78cddb32891fff7e55ebf8121002 (patch) | |
tree | 3b9010e297a41b645558908a5eed454fa43bf6df | |
parent | 65285ec4180cd8c5a500f65f2b24f2562634a0db (diff) | |
download | ranger-7dcd22c1e28c78cddb32891fff7e55ebf8121002.tar.gz |
show version number in help
-rw-r--r-- | code/draw.rb | 2 | ||||
-rwxr-xr-x | ranger | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/code/draw.rb b/code/draw.rb index 7bdbe92d..37eb8e61 100644 --- a/code/draw.rb +++ b/code/draw.rb @@ -199,7 +199,7 @@ module Fm if @buffer =~ /^\?/ cleari - puti 0, " - - - Help - - -" + puti 0, " - - - Nyuron v#{Option.version} - Help - - -" if text = HELP[@buffer[1..-1]] i = 2 text.each_line do |l| diff --git a/ranger b/ranger index 9e2a1924..fae0b716 100755 --- a/ranger +++ b/ranger @@ -2,7 +2,7 @@ ##-------------------------------------------------- # Ranger -version='0.2.5' +version ='0.2.5' ##-------------------------------------------------- # these lines allow the use of "source ranger ranger" @@ -142,6 +142,7 @@ opt = { :debug_level => 0, :debug_file => '/tmp/errorlog', :colorscheme => 'default', + :version => version, :cd => true, :evil => false } |