-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/04/2011 03:38 PM, Simo Sorce wrote: >> I think that this is kinda hard to do in CLI..in GUI the user can >> > easily pick a record to mod, but for CLI case I would actually lean >> > towards the approach Martin took in his original patch..that is, a >> > -mod replaces the entries altogether. > Why is it hard ? > You just need to provide means to delete and add records in the same > command. > > ipa dnsrecord-mod DNSZONE DNSRECORD --del-a-rec=1.2.3.4 \ > --add-a-rec=4.3.2.1 > > to replace all: > ipa dnsrecord-mod DNSZONE DNSRECORD --del-all --add-a-rec=4.3.2.1 > >
I was not trying to say it is not technically doable, but it's hard to use. Imagine how the --help output would look like, if for every RR we would also generate a --del equivalent..even now the output almost doesn't fit on screen. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAk2Z1SIACgkQHsardTLnvCUdNgCg36qiEb3dg9Zio+E/GuF05sTP rTYAoJ0m1S4YMOdaP1vueQxEBtM70Ifs =m8si -----END PGP SIGNATURE----- _______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel