rapid7/metasploit-framework — pull request #514 by kernelsmith (2012-06-22 06:28:12+00:00)
Title: adds the -a (append or add) option to the 'set' console command

this is another convenience addition which just
adds the -a (append or add) option to the 'set' console command
e.g.
if RHOST is currently 192.168.20.1
set -a RHOST 5
appends 5 to RHOST making it 192.168.20.15

especially useful for longer options values like URLs etc

I'd like to add a -x as well, for exchange so set -x RHOST LHOST will exchange those values