{ NT_("query"), querycmd, _("Query catalog"), NT_(""), false},
{ NT_("restore"), restore_cmd, _("Restore files"),
NT_("where=</path> client=<client> storage=<storage> bootstrap=<file> "
- "restore_job=<job>"
+ "restorejob=<job>"
"\n\tcomment=<text> jobid=<jobid> done select all"), false},
{ NT_("relabel"), relabel_cmd, _("Relabel a tape"),
JOB *get_restore_job(UAContext *ua)
{
JOB *job;
- int i = find_arg_with_value(ua, "restore_job");
+ int i = find_arg_with_value(ua, "restorejob");
if (i >= 0 && acl_access_ok(ua, Job_ACL, ua->argv[i])) {
job = (JOB *)GetResWithName(R_JOB, ua->argv[i]);
if (job && job->JobType == JT_RESTORE) {