Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-02-03 18:23:37 +0300
committerCorinna Vinschen <corinna@vinschen.de>2015-02-03 18:23:37 +0300
commit7656f3f4d7e66bfc5e655893bdf281bf83b46fb7 (patch)
tree431794b3db0ca69387c631d5afbf5d25542f0a9d /winsup/doc/utils.xml
parent38602c86978159540aaddafd829bc7ad335e9cd2 (diff)
* utils.xml (regtool): Clarify save action. Add description for
restore action. * new-features.xml (ov-new1.7.34): Add regtool restore.
Diffstat (limited to 'winsup/doc/utils.xml')
-rw-r--r--winsup/doc/utils.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml
index 39d88f77c..e5f073013 100644
--- a/winsup/doc/utils.xml
+++ b/winsup/doc/utils.xml
@@ -1538,7 +1538,8 @@ Actions:
unset KEY\VALUE removes VALUE from KEY
load KEY\SUBKEY PATH load hive from PATH into new SUBKEY
unload KEY\SUBKEY unload hive and remove SUBKEY
- save KEY\SUBKEY PATH save SUBKEY into new hive PATH
+ save KEY\SUBKEY PATH save SUBKEY into new file PATH
+ restore KEY\SUBKEY PATH restore SUBKEY from file PATH
Options for 'list' Action:
@@ -1567,6 +1568,11 @@ Options for 'set' and 'unset' Actions:
-K&lt;c&gt;, --key-separator[=]&lt;c&gt; set key separator to &lt;c&gt; instead of '\'
+Options for 'restore' action:
+
+ -f, --force restore even if open handles exist at or beneath the location
+ in the registry hierarchy to which KEY\SUBKEY points
+
Other Options:
-h, --help output usage information and exit
@@ -1673,7 +1679,13 @@ Example: regtool.exe get '\user\software\Microsoft\Clock\iFormat'
unloads the file and removes the subkey. </para>
<para>The <literal>save</literal> action saves a subkey into a registry
- hive. </para>
+ file. Ideally you append the suffix <filename>.reg</filename> to the file
+ so it gets automatically recognized as registry file by
+ <command>Windows Explorer</command>.</para>
+
+ <para>The <literal>restore</literal> action restores a registry subkey
+ from a file saved via the aforementioned <literal>save</literal> action.
+ </para>
<para> By default, the last "\" or "/" is assumed to be the separator
between the key and the value. You can use the <literal>-K</literal>