This commit changes the `-index` flag on the `restore` command by parsing it as a hex number instead of a decimal number. This is done because the index is represented in hex form everywhere else in the application.
This commit changes the `-index` flag on the `restore` command by parsing it as a hex number instead of a decimal number. This is done because the index is represented in hex form everywhere else in the application.