mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 22:32:41 +00:00
[WINESYNC] reg: Print additional help messages when syntax is invalid.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 010cb1b4057550b2eb6c371db5ba5a8d11ef337e by Hugh McMaster <hugh.mcmaster@outlook.com>
This commit is contained in:
parent
a1330dea51
commit
9cf114d789
4 changed files with 7 additions and 4 deletions
|
@ -163,6 +163,7 @@ int reg_delete(int argc, WCHAR *argvW[])
|
|||
return run_delete(root, path, key_name, value_name, value_empty, value_all, force);
|
||||
|
||||
invalid:
|
||||
output_message(STRING_INVALID_CMDLINE);
|
||||
output_message(STRING_INVALID_SYNTAX);
|
||||
output_message(STRING_FUNC_HELP, wcsupr(argvW[1]));
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue