updated --show logic to handle the +/-/^ prefix more flexibly