Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
010cb1b4
Commit
010cb1b4
authored
Apr 08, 2021
by
Hugh McMaster
Committed by
Alexandre Julliard
Apr 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
>
parent
a47829e1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
add.c
programs/reg/add.c
+2
-1
delete.c
programs/reg/delete.c
+2
-1
query.c
programs/reg/query.c
+2
-1
No files found.
programs/reg/add.c
View file @
010cb1b4
...
...
@@ -273,6 +273,7 @@ int reg_add(int argc, WCHAR *argvW[])
return
run_add
(
root
,
path
,
value_name
,
value_empty
,
type
,
separator
,
data
,
force
);
invalid:
output_message
(
STRING_INVALID_CMDLINE
);
output_message
(
STRING_INVALID_SYNTAX
);
output_message
(
STRING_FUNC_HELP
,
wcsupr
(
argvW
[
1
]));
return
1
;
}
programs/reg/delete.c
View file @
010cb1b4
...
...
@@ -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
;
}
programs/reg/query.c
View file @
010cb1b4
...
...
@@ -373,6 +373,7 @@ int reg_query(int argc, WCHAR *argvW[])
return
run_query
(
root
,
path
,
key_name
,
value_name
,
value_empty
,
recurse
);
invalid:
output_message
(
STRING_INVALID_CMDLINE
);
output_message
(
STRING_INVALID_SYNTAX
);
output_message
(
STRING_FUNC_HELP
,
wcsupr
(
argvW
[
1
]));
return
1
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment