* regtool.cc (longopts): Add --wow32 option.
(opts): Add -W option. (usage): Add text for --wow32/-W option. (main): Handle --wow32/-W option. * utils.sgml: Document the new -W option.
This commit is contained in:
@@ -1061,6 +1061,7 @@ Other Options:
|
||||
-q, --quiet no error output, just nonzero return if KEY/VALUE missing
|
||||
-v, --verbose verbose output, including VALUE contents when applicable
|
||||
-w, --wow64 access 64 bit registry view (ignored on 32 bit Windows)
|
||||
-W, --wow32 access 32 bit registry view (ignored on 32 bit Windows)
|
||||
-V, --version output version information and exit
|
||||
|
||||
KEY is in the format [host]\prefix\KEY\KEY\VALUE, where host is optional
|
||||
@@ -1096,6 +1097,11 @@ the <literal>-w</literal> the 64 bit view is used and
|
||||
This option is simply ignored when running on 32 bit Windows versions.
|
||||
</para>
|
||||
|
||||
<para>The <literal>-W</literal> option allows to access the 32 bit view
|
||||
on the registry. The purpose of this option is mainly symmetry. It
|
||||
allows to create OS agnostic scripts which would also work in a hypothetic
|
||||
64 bit version of Cygwin.</para>
|
||||
|
||||
<para>You must provide <command>regtool</command> with an
|
||||
<emphasis>action</emphasis> following options (if any). Currently,
|
||||
the action must be <literal>add</literal>, <literal>set</literal>,
|
||||
|
Reference in New Issue
Block a user