[ https://issues.apache.org/jira/browse/MYNEWT-543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16039397#comment-16039397 ]
ASF subversion and git services commented on MYNEWT-543: -------------------------------------------------------- Commit b37d8bf275159d2c959cc55d8179328f40d28dec in incubator-mynewt-newt's branch refs/heads/master from [~cwanda] [ https://gitbox.apache.org/repos/asf?p=incubator-mynewt-newt.git;h=b37d8bf ] MYNEWT-640 Added newt target amend command. The newt target amend command allows the user to add, change, delete values for multi-value target variables without overwriting existing values. This addresses the concern raised in MYNEWT-543. The amend command uses the same format as newt target set. The variables that can have values appended are: syscfg, cflags, aflags, and lfags. It supports a -d flag to delete values. > setting sys cfg values via newt erases old settings > --------------------------------------------------- > > Key: MYNEWT-543 > URL: https://issues.apache.org/jira/browse/MYNEWT-543 > Project: Mynewt > Issue Type: Bug > Security Level: Public(Viewable by anyone) > Components: Newt > Affects Versions: v1_0_0_beta1 > Environment: Mac OS X > Reporter: David G. Simmons > Assignee: Wanda Chiu > Priority: Minor > Fix For: v1_0_0_rel > > > DSimmons-Pro:myproj dsimmons$ cat targets/air_q/syscfg.yml > \### Package: targets/air_q > syscfg.vals: > OPENOCD_DEBUG: 1 > \# Enable the shell task. > SHELL_TASK: 1 > STATS_CLI: 1 > CONSOLE_TICKS: 1 > CONSOLE_PROMPT: 1 > DSimmons-Pro:myproj dsimmons$ newt target set air_q syscfg=OPENOCD_DEBUG=0 > Target targets/air_q successfully set target.syscfg to OPENOCD_DEBUG=0 > DSimmons-Pro:myproj dsimmons$ cat targets/air_q/syscfg.yml > \### Package: targets/air_q > syscfg.vals: > OPENOCD_DEBUG: 0 > DSimmons-Pro:myproj dsimmons$ -- This message was sent by Atlassian JIRA (v6.3.15#6346)