Add new %active argument to euse to select all enabled use flags
authorgenone <genone@gentoo.org>
Wed, 29 Mar 2006 16:57:07 +0000 (16:57 -0000)
committergenone <genone@gentoo.org>
Wed, 29 Mar 2006 16:57:07 +0000 (16:57 -0000)
svn path=/; revision=293

trunk/ChangeLog
trunk/src/euse/euse

index 84ef4eab0bd959c061ae45eaf662b4762739b75e..eeb583bb9da2d3ddf7b1d41b4ff21d6f8ecdaeda 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-29 Marius Mauch <genone@gentoo.org>
+       * euse: Add support for special %active argument as placeholder for
+       active use flags
+
 2006-03-26 Aron Griffis <agriffis@gentoo.org>
        * echangelog: Don't warn about missing ebuilds when updating 
          copyrights #120061
index fb228abd1c5fb5e0f9e136c315e3902efc377fcd..eaf964522b87bb673b18669db016ecff4052040a 100755 (executable)
@@ -37,6 +37,10 @@ parse_arguments() {
                                echo
                                MODE="showhelp"
                                ;;
+                       "%active")
+                               get_useflags
+                               ARGUMENTS="${ARGUMENTS} ${ACTIVE_FLAGS[9]}"
+                               ;;
                        *)
                                ARGUMENTS="${ARGUMENTS} ${1}"
                                ;;