public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Gordon Grimes <Gordon_Grimes@symantec.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: regtool  2.11.1 need a way to specify leading "-" in values
Date: Tue, 22 Jan 2019 23:12:00 -0000	[thread overview]
Message-ID: <BN6PR16MB15549754495C4B7BA433E198E8980@BN6PR16MB1554.namprd16.prod.outlook.com> (raw)

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

             reply	other threads:[~2019-01-22 23:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-22 23:12 Gordon Grimes [this message]
2019-01-22 23:21 ` Eric Blake
2019-01-23  0:05   ` Gordon Grimes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN6PR16MB15549754495C4B7BA433E198E8980@BN6PR16MB1554.namprd16.prod.outlook.com \
    --to=gordon_grimes@symantec.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).