regedit: Fix syntax for deleting registry keys (RHBZ#737944).
authorRichard W.M. Jones <rjones@redhat.com>
Sat, 22 Oct 2011 14:48:15 +0000 (15:48 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Sat, 22 Oct 2011 14:49:02 +0000 (15:49 +0100)
commit855df874403b11ea426c5c6fa708e52ab0b2f042
tree990aed45e6c063354b60e59a8bf97e37e2533f0a
parent2a1279607c3982114ae931a6670bc36d2cb2ec1d
regedit: Fix syntax for deleting registry keys (RHBZ#737944).

Previously we parsed -[...] to delete a registry key, but this is not
correct.  It should be [-...].  Reference:

http://support.microsoft.com/kb/310516
https://secure.wikimedia.org/wikipedia/en/wiki/Windows_Registry#.REG_files
perl/lib/Win/Hivex/Regedit.pm
perl/t/560-regedit-import.t