public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* regtool  2.11.1 need a way to specify leading "-" in values
@ 2019-01-22 23:12 Gordon Grimes
  2019-01-22 23:21 ` Eric Blake
  0 siblings, 1 reply; 3+ messages in thread
From: Gordon Grimes @ 2019-01-22 23:12 UTC (permalink / raw)
  To: cygwin

I believe there is no way to specify values with leading "-" in regtool.  I expect the same applies to keys.  An "end of switch processing" switch would be useful, forcing 'regtool' to interpret all remaining arguments literally.

Example:
% regtool -s set '\HKCU\Environment\MAVEN_OPTS' "-Xms512m -Xmx3072m  -Dcom.sun.management.jmxremote"
regtool: unknown option -- X
Try `regtool --help' for more information.


% regtool --version
regtool (cygwin) 2.11.1
Registry tool
Copyright (C) 2000 - 2018 Cygwin Authors


Thanks,
ggrimes

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-23  0:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-22 23:12 regtool 2.11.1 need a way to specify leading "-" in values Gordon Grimes
2019-01-22 23:21 ` Eric Blake
2019-01-23  0:05   ` Gordon Grimes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).