Added format flags to shor command.