diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-11-17 09:45:02 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-11-17 09:45:02 +0000 |
commit | 31e37c1588c7413fb1d6e53f741a21542a20c8b2 (patch) | |
tree | fe38982d9fb5cdb57a6ffbd8ee7c9b97b572d6a0 | |
parent | 562e8b1a1e80e92f0b38891f5516efa221a1a6ce (diff) | |
download | mogilefs-client-31e37c1588c7413fb1d6e53f741a21542a20c8b2.tar.gz |
It's sometimes handy to know which version we're running
-rwxr-xr-x | bin/mog | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -62,6 +62,7 @@ ARGV.options do |x| x.on('--chunk', "chunk uploads (`tee' command)") { chunk = true } x.separator '' x.on('--help', 'Show this help message.') { puts x; exit } + x.on('--version', 'Show --version') { puts "#$0 #{MogileFS::VERSION}"; exit } x.parse! end |