diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-10-19 13:08:44 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-10-19 13:08:44 +0400 |
commit | 3c256e38f9b1de33028b4f6f4635ecf5395e2168 (patch) | |
tree | 5e170eabe2a3943de9ecf668cb2c4c0108fa3cd1 /winsup/utils/regtool.cc | |
parent | 6d441576873f5f34962fa3982f4e4f1d37eeb405 (diff) |
* 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.
Diffstat (limited to 'winsup/utils/regtool.cc')
-rw-r--r-- | winsup/utils/regtool.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/utils/regtool.cc b/winsup/utils/regtool.cc index b9ed8a8d7..2a4c2fe1d 100644 --- a/winsup/utils/regtool.cc +++ b/winsup/utils/regtool.cc @@ -48,6 +48,7 @@ static struct option longopts[] = {"verbose", no_argument, NULL, 'v'}, {"version", no_argument, NULL, 'V'}, {"wow64", no_argument, NULL, 'w'}, + {"wow32", no_argument, NULL, 'W'}, {"key-separator", required_argument, NULL, 'K'}, {NULL, 0, NULL, 0} }; @@ -110,6 +111,7 @@ usage (FILE *where = stderr) " -q, --quiet no error output, just nonzero return if KEY/VALUE missing\n" " -v, --verbose verbose output, including VALUE contents when applicable\n" " -w, --wow64 access 64 bit registry view (ignored on 32 bit Windows)\n" + " -W, --wow32 access 32 bit registry view (ignored on 32 bit Windows)\n" " -V, --version output version information and exit\n" "\n"); if (where == stdout) @@ -860,6 +862,9 @@ main (int argc, char **_argv) case 'w': wow64 = KEY_WOW64_64KEY; break; + case 'W': + wow64 = KEY_WOW64_32KEY; + break; case 'K': key_sep = *optarg; break; |