reg: Report an error when an unknown operation is specified.
This commit is contained in:
parent
a138f4b85d
commit
24c6f5cc35
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue