1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 19:55:40 +02:00

reg-compare: add page (#1923)

This commit is contained in:
Owen Voke 2018-01-25 10:11:44 +00:00 committed by Starbeamrainbowlabs
parent a8cc78e6b1
commit 29a6f5979c

View file

@ -0,0 +1,23 @@
# reg compare
> Compare keys and their values in the registry.
- Compare all values under a specific key with a second key:
`reg compare {{first_key_name}} {{second_key_name}}`
- Compare a specific value under two keys:
`reg compare {{first_key_name}} {{second_key_name}} /v {{value}}`
- Compare all sub keys and values for two keys:
`reg compare {{first_key_name}} {{second_key_name}} /s`
- Only output the matches between the specified keys:
`reg compare {{first_key_name}} {{second_key_name}} /os`
- Output the differences and matches between the specified keys:
`reg compare {{first_key_name}} {{second_key_name}} /oa`