1 |
The implementation of usex allows to call it with !flag as first |
2 |
argument (it's just passed on to "use"). |
3 |
|
4 |
Looks more natural to me to allow this in the spec, instead of adding |
5 |
extra code that would error out if it encounters a ! prefix. |
6 |
|
7 |
(BTW, "use_with !enabled" outputs "--without-!enabled". Do we care |
8 |
about this?) |
9 |
|
10 |
Ulrich |
11 |
|
12 |
--- |
13 |
pkg-mgr-commands.tex | 1 + |
14 |
1 file changed, 1 insertion(+) |
15 |
|
16 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
17 |
index a6dd807..e4134e9 100644 |
18 |
--- a/pkg-mgr-commands.tex |
19 |
+++ b/pkg-mgr-commands.tex |
20 |
@@ -669,6 +669,7 @@ instead of \t{-{}-with-} or \t{-{}-without-}. |
21 |
values. If not provided, \t{\$\{arg2\}} and \t{\$\{arg3\}} default to \t{yes} and \t{no}, |
22 |
respectively; \t{\$\{arg4\}} and \t{\$\{arg5\}} default to the empty string. If the USE flag is |
23 |
set, outputs \t{\$\{arg2\}\$\{arg4\}}. Otherwise, outputs \t{\$\{arg3\}\$\{arg5\}}. |
24 |
+ The condition is inverted if the flag name is prefixed with~\t{!}. |
25 |
Only available in EAPIs listed in table~\ref{tab:usex-table} as supporting \t{usex}. |
26 |
\end{description} |
27 |
|
28 |
-- |
29 |
1.7.12 |