X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=ICc
	FMCyhLEaRtyF1fhy8FmXTSAKQy+7gPTOQYomO12MyB2m4r0MrwOGTE1ceySyKNZZ
	qfxMcgRa80SMt1Eyy5QY5sjMFH7ArznDe1x7gNgI3R3ghZa84R7TsTyJRj7C5sD4
	nr+grBd4md7LD8Mjh0/+xn0hDRt2P7CyojWXV8DM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id:mime-version
	:content-type:content-transfer-encoding; s=default; bh=XB0tsc1hI
	3uo7Y5p97qH3cVYtTQ=; b=wByPdtqvelzcXi9Iypo6A0xMEsR8Yjd4m8h3Nsa1l
	5jWLLZUEM2hyqPOqvWCPiVo2jP7AVDC3oojgETevxQHaM7k/9pk4MrsM74Z1v6Qo
	4Cjnz4oxV0ToRGkNifaBYH1u/EmTpbulm6cyVgLhcRDM67NXbsNW8UbQmBvcnl3H
	sU=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,SPF_PASS autolearn=ham version=3.3.2 spammy=literally, 2111, H*c:alternative, H*c:HHH
X-HELO: tussmtoutape02.symantec.com
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:30 +0000
Message-ID: <BN6PR16MB15549754495C4B7BA433E198E8980@BN6PR16MB1554.namprd16.prod.outlook.com>
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gordon_Grimes@symantec.com;
received-spf: None (protection.outlook.com: symantec.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x0MNCmPP001110

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


