diff options
author | Christopher Faylor <me@cgf.cx> | 2001-01-10 22:34:02 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-01-10 22:34:02 +0000 |
commit | 37770e00090544a1cb648bf0959235cb2862021f (patch) | |
tree | 57d449cb64fd783501b8e974bb14e0313ac2e460 /winsup/utils/utils.sgml | |
parent | 7adad1217b6787ffef0ef1d0f42b73abcf504f3d (diff) | |
download | cygnal-37770e00090544a1cb648bf0959235cb2862021f.tar.gz cygnal-37770e00090544a1cb648bf0959235cb2862021f.tar.bz2 cygnal-37770e00090544a1cb648bf0959235cb2862021f.zip |
* regtool.cc (cmd_list): Add new registry display options.
(cmd_list): Add code to implement -p, -k, and -l options.
* regtool.cc (Fail): Add call to LocalFree to free memory allocated by
FormatMessage.
Diffstat (limited to 'winsup/utils/utils.sgml')
-rw-r--r-- | winsup/utils/utils.sgml | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml index e59c125cb..435b66182 100644 --- a/winsup/utils/utils.sgml +++ b/winsup/utils/utils.sgml @@ -613,23 +613,27 @@ reported. The valid bits to set are as follows: <sect2 id="regtool"><title>regtool</title> <screen> -regtool -h - print this message -regtool [-v] list [key] - list subkeys and values -regtool [-v] add [key\subkey] - add new subkey -regtool [-v] remove [key] - remove key -regtool [-v|-q] check [key] - exit 0 if key exists, 1 if not -regtool [-i|-s|-e|-m] set [key\value] [data ...] - set value +Regtool Copyright (c) 2000 Red Hat Inc + regtool -h - print this message + regtool [-v|-p|-k|-l] list [key] - list subkeys and values + -p=postfix, like ls -p, appends / postfix to key names + -k=keys, lists only keys + -l=values, lists only values + regtool [-v] add [key\subkey] - add new subkey + regtool [-v] remove [key] - remove key + regtool [-v|-q] check [key] - exit 0 if key exists, 1 if not + regtool [-i|-s|-e|-m] set [key\value] [data ...] - set value -i=integer -s=string -e=expand-string -m=multi-string -regtool [-v] unset [key\value] - removes value from key -regtool [-q] get [key\value] - prints value to stdout + regtool [-v] unset [key\value] - removes value from key + regtool [-q] get [key\value] - prints value to stdout -q=quiet, no error msg, just return nonzero exit if key/value missing -keys are like \prefix\key\key\key\value, where prefix is any of: + keys are like \prefix\key\key\key\value, where prefix is any of: root HKCR HKEY_CLASSES_ROOT config HKCC HKEY_CURRENT_CONFIG user HKCU HKEY_CURRENT_USER machine HKLM HKEY_LOCAL_MACHINE users HKU HKEY_USERS -example: \user\software\Microsoft\Clock\iFormat + example: \user\software\Microsoft\Clock\iFormat </screen> <para>The <command>regtool</command> program allows shell scripts |