X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=hivex%2Fhivexsh.pod;h=a31d9e0bd04bb579a7001644ee3c5a73e21d5f21;hb=ed83d770252dda356bc9f8ad19149ada5e8708a5;hp=277e3aea03ab863e732e608eb0c0ee7c78fb423a;hpb=aef0d618b08dc9fb27fb3a729dd8926cff26ae0b;p=libguestfs.git diff --git a/hivex/hivexsh.pod b/hivex/hivexsh.pod index 277e3ae..a31d9e0 100644 --- a/hivex/hivexsh.pod +++ b/hivex/hivexsh.pod @@ -79,6 +79,20 @@ If this option is not given, then write commands are disabled. =over 4 +=item B name + +Add a subkey named C below the current node. The name may +contain spaces and punctuation characters, and does not need to be +quoted. + +The new key will have no subkeys and no values (see C). + +There must be no existing subkey called C, or this command will +fail. To replace an existing subkey, delete it first like this: + + cd name + del + =item B path Change to the subkey C. Use Windows-style backslashes to @@ -100,7 +114,14 @@ or even: Path elements (node names) are matched case insensitively, and characters like space, C<*>, and C have I special significance. -C<..> may be used to go to the parent directory. +C may be used to go to the parent directory. + +C without any arguments prints the current path. + +Be careful with C since the readline library has an undocumented +behaviour where it will think the final backslash is a continuation +(it reads the next line of input and appends it). Put a single space +after the backslash. =item B | B