diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-04-04 17:45:32 -0400 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-04-04 17:45:32 -0400 |
commit | f3a7e9f8a2b85fb936d98aa118bec5189b26140f (patch) | |
tree | 3dd8ce63d407bf90d297d2bd31773263cd51524c /cobbler.spec | |
parent | 2d14d31b9aa6b34eaacfad650b99f132c3a103ad (diff) | |
download | third_party-cobbler-f3a7e9f8a2b85fb936d98aa118bec5189b26140f.tar.gz third_party-cobbler-f3a7e9f8a2b85fb936d98aa118bec5189b26140f.tar.xz third_party-cobbler-f3a7e9f8a2b85fb936d98aa118bec5189b26140f.zip |
Added a "--clobber" option to all add commands that allows the add to function in an "add or edit" mode. Before in Cobbler, add and edit were largely aliases so this was not needed -- now it is. Using --clobber the object will be created if it does not exist, or it will overwrite the existing one (as "edit" does) when it is there. If --clobber is left off, add will refuse to overwrite an existing object. This is a minor break to scripts that are calling cobbler directly but not those to API users -- scripts /should/ be checking return codes.
Diffstat (limited to 'cobbler.spec')
0 files changed, 0 insertions, 0 deletions