Line
Link Here
|
0 |
-- pms-orig/pkg-mgr-commands.tex |
0 |
++ pms/pkg-mgr-commands.tex |
Lines 389-400
Link Here
|
389 |
\begin{description} |
389 |
\begin{description} |
390 |
\item[use] Returns shell true (0) if the first argument (a \t{USE} flag name) is enabled, false |
390 |
\item[use] Returns shell true (0) if the first argument (a \t{USE} flag name) is enabled, false |
391 |
otherwise. If the flag name is prefixed with \t{!}, returns true if the flag is disabled, and |
391 |
otherwise. If the flag name is prefixed with \t{!}, returns true if the flag is disabled, and |
392 |
false if it is enabled. |
392 |
false if it is enabled. It is guaranteed that this command is quiet. |
393 |
\item[usev] The same as \t{use}, but also prints the flag name if it is enabled. |
393 |
\item[usev] The same as \t{use}, but also prints the flag name if it is enabled. |
394 |
\item[useq] Deprecated synonym for \t{use}. |
394 |
\item[useq] Deprecated synonym for \t{use}. |
395 |
\\ |
395 |
\\ |
396 |
\item[has] Returns shell true (0) if the first argument (a word) is found in the list of subsequent |
396 |
\item[has] Returns shell true (0) if the first argument (a word) is found in the list of subsequent |
397 |
arguments, false otherwise. |
397 |
arguments, false otherwise. Guaranteed quiet. |
398 |
\item[hasv] The same as \t{has}, but also prints the first argument if found. |
398 |
\item[hasv] The same as \t{has}, but also prints the first argument if found. |
399 |
\item[hasq] Deprecated synonym for \t{has}. |
399 |
\item[hasq] Deprecated synonym for \t{has}. |
400 |
\\ |
400 |
\\ |