Handle known inout ports as outputs in show command
Added support for #x:<num> select stmt