Changed the order of subcommand and pin

As requested by Jeff Hoefs