This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Is regtool -K option broken?


On Fri, 24 Sep 2004, Corinna Vinschen wrote:

> On Sep 24 15:19, luke.kendall@XXXXX.XXXXX.XXX.XX wrote:

<http://cygwin.com/acronyms/#PCYMTNQREAIYR>, now with more reasons.

> > I tried using regtool's option to use a different key separator, but it
> > doesn't seem to work.  Am I doing something wrong?
> >
> > $ regtool  --key-separator='|' list |HKLM
> > Unknown key prefix.  Valid prefixes are:
> > [...]
>
> $ regtool --help
> [...]
> Options for 'set' and 'unset' Actions:
>  -K<c>, --key-separator[=]<c>  set key separator to <c> instead of '\'
> [...]

Should this perhaps be

Options for 'set', 'unset', and 'get' Actions:
 -K<c>, --key-separator[=]<c>  set key-value separator to <c> instead of '\'

instead?  FWIW, it should also work with 'get' (even if the help doesn't
currently mention that).

Just for the archives, this is to allow values with '\' or '/' in them,
e.g.,

-- *** DO NOT RUN THE BELOW, IT'S JUST AN EXAMPLE *** --
regtool -K'|' set '/HKLM/HARDWARE/DEVICEMAP/PARALLEL PORTS|\Device\Parallel0' '\DosDevices\LPT1'
-- *** DO NOT RUN THE ABOVE, IT'S JUST AN EXAMPLE *** --

Hope this clarifies matters.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]