reg: Report an error when an unknown operation is specified.

This commit is contained in:
Andrew Nguyen 2009-06-27 17:38:30 -05:00 committed by Alexandre Julliard
parent a138f4b85d
commit 24c6f5cc35
1 changed files with 5 additions and 2 deletions

View File

@ -442,6 +442,9 @@ int wmain(int argc, WCHAR *argvW[])
}
return reg_query(key_name, value_name, value_empty, subkey);
}
return 0;
else
{
reg_message(STRING_INVALID_CMDLINE);
return 1;
}
}