delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/01/22/18:12:50

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT symantec DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT 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 AT symantec DOT com;
received-spf: None (protection.outlook.com: symantec.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
MIME-Version: 1.0
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019