openSUSE / docmanager

Manage DocBook 5 Meta Information
http://opensuse.github.io/docmanager/index.html
GNU General Public License v3.0
6 stars 6 forks source link

Del Subcommand Should Really Delete Properties #60

Closed tomschr closed 9 years ago

tomschr commented 9 years ago

Current Situation

At the moment, the del subcommand removes the values(!) from the given property.

Preferred Solution

In some cases, clearing the value but leaving the element as it is could not be enough. For readability reasons, if an element isn't really needed, why should it be there (although empty)?

If you need to clear/remove some properties, the del subcommand should support a special value which should really remove the respective element.

IMHO, the del subcommand should be extended:

mschnitzer commented 9 years ago

WIP

mschnitzer commented 9 years ago

Oh, I forgot to implement your suggestions. I reopened the issue -> WIP

mschnitzer commented 9 years ago

@tomschr OK, we can close this now.