| 1 |
<?xml version="1.0"?> |
| 2 |
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
| 3 |
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ |
| 4 |
<!ENTITY version SYSTEM "../version.xml"> |
| 5 |
]> |
| 6 |
<refentry id="pkaction.1" xmlns:xi="http://www.w3.org/2003/XInclude"> |
| 7 |
<refentryinfo> |
| 8 |
<title>pkaction</title> |
| 9 |
<date>May 2009</date> |
| 10 |
<productname>polkit</productname> |
| 11 |
</refentryinfo> |
| 12 |
|
| 13 |
<refmeta> |
| 14 |
<refentrytitle>pkaction</refentrytitle> |
| 15 |
<manvolnum>1</manvolnum> |
| 16 |
<refmiscinfo class="version"></refmiscinfo> |
| 17 |
</refmeta> |
| 18 |
|
| 19 |
<refnamediv> |
| 20 |
<refname>pkaction</refname> |
| 21 |
<refpurpose>Get details about a registered action</refpurpose> |
| 22 |
</refnamediv> |
| 23 |
|
| 24 |
<refsynopsisdiv> |
| 25 |
<cmdsynopsis> |
| 26 |
<command>pkaction</command> |
| 27 |
<arg><option>--version</option></arg> |
| 28 |
<arg><option>--help</option></arg> |
| 29 |
</cmdsynopsis> |
| 30 |
|
| 31 |
<cmdsynopsis> |
| 32 |
<command>pkaction</command> |
| 33 |
<group> |
| 34 |
<arg choice="plain"> |
| 35 |
<option>--verbose</option> |
| 36 |
</arg> |
| 37 |
</group> |
| 38 |
</cmdsynopsis> |
| 39 |
|
| 40 |
<cmdsynopsis> |
| 41 |
<command>pkaction</command> |
| 42 |
<arg choice="plain"> |
| 43 |
<option>--action-id</option> |
| 44 |
<replaceable>action</replaceable> |
| 45 |
</arg> |
| 46 |
<group> |
| 47 |
<arg choice="plain"> |
| 48 |
<option>--verbose</option> |
| 49 |
</arg> |
| 50 |
</group> |
| 51 |
</cmdsynopsis> |
| 52 |
|
| 53 |
</refsynopsisdiv> |
| 54 |
|
| 55 |
<refsect1 id="pkaction-description"> |
| 56 |
<title>DESCRIPTION</title> |
| 57 |
<para> |
| 58 |
<command>pkaction</command> is used to obtain information about registered |
| 59 |
polkit actions. If called without <option>--action-id</option> then all |
| 60 |
actions are displayed. Otherwise the action <replaceable>action</replaceable>. |
| 61 |
If called without the <option>--verbose</option> option only the name |
| 62 |
of the action is shown. Otherwise details about the actions are shown. |
| 63 |
</para> |
| 64 |
</refsect1> |
| 65 |
|
| 66 |
<refsect1 id="pkaction-return-values"> |
| 67 |
<title>RETURN VALUE</title> |
| 68 |
<para> |
| 69 |
On success <command>pkaction</command> returns 0. Otherwise a |
| 70 |
non-zero value is returned and a diagnostic message is printed |
| 71 |
on standard error. |
| 72 |
</para> |
| 73 |
</refsect1> |
| 74 |
|
| 75 |
<refsect1 id="pkaction-author"><title>AUTHOR</title> |
| 76 |
<para> |
| 77 |
Written by David Zeuthen <email>[email protected]</email> with |
| 78 |
a lot of help from many others. |
| 79 |
</para> |
| 80 |
</refsect1> |
| 81 |
|
| 82 |
<refsect1 id="pkaction-bugs"> |
| 83 |
<title>BUGS</title> |
| 84 |
<para> |
| 85 |
Please send bug reports to either the distribution or the |
| 86 |
polkit-devel mailing list, |
| 87 |
see <ulink url="https://github.com/polkit-org/polkit#bugs-and-development"/>. |
| 88 |
</para> |
| 89 |
</refsect1> |
| 90 |
|
| 91 |
<refsect1 id="pkaction-see-also"> |
| 92 |
<title>SEE ALSO</title> |
| 93 |
<para> |
| 94 |
<link linkend="polkit.8"><citerefentry><refentrytitle>polkit</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>, |
| 95 |
<link linkend="polkitd.8"><citerefentry><refentrytitle>polkitd</refentrytitle><manvolnum>8</manvolnum></citerefentry></link>, |
| 96 |
<link linkend="pkcheck.1"><citerefentry><refentrytitle>pkcheck</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, |
| 97 |
<link linkend="pkexec.1"><citerefentry><refentrytitle>pkexec</refentrytitle><manvolnum>1</manvolnum></citerefentry></link>, |
| 98 |
<link linkend="pkttyagent.1"><citerefentry><refentrytitle>pkttyagent</refentrytitle><manvolnum>1</manvolnum></citerefentry></link> |
| 99 |
</para> |
| 100 |
</refsect1> |
| 101 |
</refentry> |