change show_target with decorator

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>