Add --restore option to update command.

Remove the unneeded --no-local-index option.
Add --days option to prune command.