* regtool.cc (usage): Add missing linefeed. Move example to --help
text. Fix forward slash description.
This commit is contained in:
parent
b98580a716
commit
dae37d5d84
|
@ -1,3 +1,8 @@
|
||||||
|
2003-08-15 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* regtool.cc (usage): Add missing linefeed. Move example to --help
|
||||||
|
text. Fix forward slash description.
|
||||||
|
|
||||||
2003-08-13 Igor Pechtchanski <pechtcha@cs.nyu.edu>
|
2003-08-13 Igor Pechtchanski <pechtcha@cs.nyu.edu>
|
||||||
|
|
||||||
* dump_setup.cc (check_package_files): Fix extra '/' in filename.
|
* dump_setup.cc (check_package_files): Fix extra '/' in filename.
|
||||||
|
|
|
@ -99,22 +99,24 @@ usage (FILE *where = stderr)
|
||||||
" -V, --version output version information and exit\n"
|
" -V, --version output version information and exit\n"
|
||||||
"\n");
|
"\n");
|
||||||
if (where == stdout)
|
if (where == stdout)
|
||||||
fprintf (where, ""
|
{
|
||||||
"KEY is in the format [host]\\prefix\\KEY\\KEY\\VALUE, where host is optional\n"
|
fprintf (where, ""
|
||||||
"remote host in either \\\\hostname or hostname: format and prefix is any of:\n"
|
"KEY is in the format [host]\\prefix\\KEY\\KEY\\VALUE, where host is optional\n"
|
||||||
" root HKCR HKEY_CLASSES_ROOT (local only)\n"
|
"remote host in either \\\\hostname or hostname: format and prefix is any of:\n"
|
||||||
" config HKCC HKEY_CURRENT_CONFIG (local only)\n"
|
" root HKCR HKEY_CLASSES_ROOT (local only)\n"
|
||||||
" user HKCU HKEY_CURRENT_USER (local only)\n"
|
" config HKCC HKEY_CURRENT_CONFIG (local only)\n"
|
||||||
" machine HKLM HKEY_LOCAL_MACHINE\n"
|
" user HKCU HKEY_CURRENT_USER (local only)\n"
|
||||||
" users HKU HKEY_USERS\n"
|
" machine HKLM HKEY_LOCAL_MACHINE\n"
|
||||||
"\n"
|
" users HKU HKEY_USERS\n"
|
||||||
"You can use forward slash ('/') as a separator instead of backslash, in\n"
|
"\n"
|
||||||
"that case backslash is treated as escape character\n"
|
"If the keyname starts with a forward slash ('/'), the forward slash is used\n"
|
||||||
"");
|
"as separator and the backslash can be used as escape character.\n");
|
||||||
fprintf (where, ""
|
fprintf (where, ""
|
||||||
"Example: %s get '\\user\\software\\Microsoft\\Clock\\iFormat'\n", prog_name);
|
"Example:\n"
|
||||||
|
"%s list '/machine/SOFTWARE/Classes/MIME/Database/Content Type/audio\\/wav'\n", prog_name);
|
||||||
|
}
|
||||||
if (where == stderr)
|
if (where == stderr)
|
||||||
fprintf (where, "Try '%s --help' for more information.", prog_name);
|
fprintf (where, "Try '%s --help' for more information.\n", prog_name);
|
||||||
exit (where == stderr ? 1 : 0);
|
exit (where == stderr ? 1 : 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue