add shell and command options

With shell you can specify format for history-file and command let's you
see usage of one command.