allow to specify whether pubkey is compressed or not in pubkey command.