Commit 24c6f5cc authored by Andrew Nguyen's avatar Andrew Nguyen Committed by Alexandre Julliard

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

parent a138f4b8
...@@ -442,6 +442,9 @@ int wmain(int argc, WCHAR *argvW[]) ...@@ -442,6 +442,9 @@ int wmain(int argc, WCHAR *argvW[])
} }
return reg_query(key_name, value_name, value_empty, subkey); return reg_query(key_name, value_name, value_empty, subkey);
} }
else
return 0; {
reg_message(STRING_INVALID_CMDLINE);
return 1;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment