Commit abf204cd authored by Thomas Spear's avatar Thomas Spear Committed by Alexandre Julliard

regedit: Spelling and grammar fixes.

parent 2b7d8cb9
...@@ -32,15 +32,15 @@ static const char *usage = ...@@ -32,15 +32,15 @@ static const char *usage =
"filename - registry file name\n" "filename - registry file name\n"
"regpath - name of the registry key\n" "regpath - name of the registry key\n"
"\n" "\n"
"When is called without any switches adds contents of the specified\n" "When regedit is called without any switches, it adds the contents of the\n"
"registry file to the registry\n" "specified registry file to the registry\n"
"\n" "\n"
"Switches:\n" "Switches:\n"
" /E - exports contents of the specified registry key to the specified\n" " /E - exports contents of the specified registry key to the specified\n"
" file. Exports the whole registry if no key is specified.\n" " file. Exports the whole registry if no key is specified.\n"
" /D - deletes specified registry key\n" " /D - deletes specified registry key\n"
" /S - silent execution, can be used with any other switch.\n" " /S - silent execution, can be used with any other switch.\n"
" The only existing mode, exists for compatibility with Windows regedit.\n" " Default. The only existing mode, exists for compatibility with Windows regedit.\n"
" /V - advanced mode, can be used with any other switch.\n" " /V - advanced mode, can be used with any other switch.\n"
" Ignored, exists for compatibility with Windows regedit.\n" " Ignored, exists for compatibility with Windows regedit.\n"
" /L - location of system.dat file. Can be used with any other switch.\n" " /L - location of system.dat file. Can be used with any other switch.\n"
...@@ -48,7 +48,7 @@ static const char *usage = ...@@ -48,7 +48,7 @@ static const char *usage =
" /R - location of user.dat file. Can be used with any other switch.\n" " /R - location of user.dat file. Can be used with any other switch.\n"
" Ignored. Exists for compatibility with Windows regedit.\n" " Ignored. Exists for compatibility with Windows regedit.\n"
" /? - print this help. Any other switches are ignored.\n" " /? - print this help. Any other switches are ignored.\n"
" /C - create registry from. Not implemented.\n" " /C - create registry from file. Not implemented.\n"
"\n" "\n"
"The switches are case-insensitive, can be prefixed either by '-' or '/'.\n" "The switches are case-insensitive, can be prefixed either by '-' or '/'.\n"
"This program is command-line compatible with Microsoft Windows\n" "This program is command-line compatible with Microsoft Windows\n"
...@@ -73,7 +73,7 @@ static void error_unknown_switch(char chu, char *s) ...@@ -73,7 +73,7 @@ static void error_unknown_switch(char chu, char *s)
fprintf(stderr,"%s: Undefined switch /%c!\n", getAppName(), chu); fprintf(stderr,"%s: Undefined switch /%c!\n", getAppName(), chu);
} else { } else {
fprintf(stderr,"%s: Alphabetic character is expected after '%c' " fprintf(stderr,"%s: Alphabetic character is expected after '%c' "
"in swit ch specification\n", getAppName(), *(s - 1)); "in switch specification\n", getAppName(), *(s - 1));
} }
exit(1); exit(1);
} }
...@@ -161,7 +161,7 @@ BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s) ...@@ -161,7 +161,7 @@ BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s)
get_file_name(&s, filename); get_file_name(&s, filename);
if (!filename[0]) { if (!filename[0]) {
fprintf(stderr,"%s: No file name is specified\n", getAppName()); fprintf(stderr,"%s: No file name was specified\n", getAppName());
fprintf(stderr,usage); fprintf(stderr,usage);
exit(1); exit(1);
} }
...@@ -203,7 +203,7 @@ BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s) ...@@ -203,7 +203,7 @@ BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s)
get_file_name(&s, reg_key_name); get_file_name(&s, reg_key_name);
if (!reg_key_name[0]) { if (!reg_key_name[0]) {
fprintf(stderr,"%s: No registry key is specified for removal\n", fprintf(stderr,"%s: No registry key was specified for removal\n",
getAppName()); getAppName());
fprintf(stderr,usage); fprintf(stderr,usage);
exit(1); exit(1);
...@@ -217,7 +217,7 @@ BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s) ...@@ -217,7 +217,7 @@ BOOL PerformRegAction(REGEDIT_ACTION action, LPSTR s)
filename[0] = '\0'; filename[0] = '\0';
get_file_name(&s, filename); get_file_name(&s, filename);
if (!filename[0]) { if (!filename[0]) {
fprintf(stderr,"%s: No file name is specified\n", getAppName()); fprintf(stderr,"%s: No file name was specified\n", getAppName());
fprintf(stderr,usage); fprintf(stderr,usage);
exit(1); exit(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