When I have this line in package.use > > net-misc/curl libressl -gnutls curl_ssl: libressl -openssl > and enable gnutls with flaggie like so > > flaggie net-misc/curl +gnutls > then I receive this > > net-misc/curl libressl gnutls curl_ssl: libressl -openssl > which is what I intended to do: -gnutls (disabled) is converted into gnutls (enabled). However, when I have no -gnutls initally, then the same flaggie command adds gnutls *after curl_ssl:* > > net-misc/curl libressl curl_ssl: libressl -openssl gnutls > This is not intended since there is curl_ssl[_gnutls], too, and flaggie changes the curl_ssl flags in that case.
Fixed with current flaggie (tested against 0.99.5). In the mentioned use case flaggie now simply inserts another line in package.use instead of editing the existing one, and thus avoids the confusion with possible "curl_ssl: ..." in it. Thanks