[augeas-devel] [Augeas] #276: clear command is not intuitive

Augeas trac at fedorahosted.org
Wed May 16 19:27:40 UTC 2012


#276: clear command is not intuitive
--------------------------+----------------------
  Reporter:  jokajak      |      Owner:  lutter
      Type:  enhancement  |     Status:  reopened
  Priority:  minor        |  Milestone:  next
 Component:  Augeas       |    Version:  0.9.0
Resolution:               |   Keywords:
Blocked By:               |   Blocking:
--------------------------+----------------------

Comment (by lutter):

 The point of the comment in cmd_defnode is that we treat 'defnode foo' and
 'defnode foo ""' to be the same - namely to undefine $foo. The comment
 could probably be a little clearer that that's what we are doing ...

 That's not the case for set - we do want 'set foo' and 'set foo ""' to do
 different things. So, yes, we want to remove the if statements from
 cmd_set and cmd_setm; note also, that test-run fails right now because of
 these ifs.

-- 
Ticket URL: <https://fedorahosted.org/augeas/ticket/276#comment:4>
Augeas <http://augeas.net/>
a configuration API




More information about the augeas-devel mailing list