summaryrefslogtreecommitdiff
path: root/man/pm-pmu.sgml
blob: 4cd38c6c517d60a90330046bbaacabceb5c0d5dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
  <!ENTITY date        "<date>05 June, 2006</date>">
  <!ENTITY package     "pm-pmu">
  <!ENTITY gnu         "<acronym>GNU</acronym>">
  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
]>

<refentry>
  <refentryinfo>
    <address>
      <email>richard@hughsie.com</email>;
    </address>
    <author>
      <firstname>Richard</firstname>
      <surname>Hughes</surname>
    </author>
    <copyright>
      <year>2006</year>
      <holder>Richard Hughes</holder>
    </copyright>
    &date;
  </refentryinfo>
  <refmeta>
    <refentrytitle>&package;</refentrytitle>
    <manvolnum>1</manvolnum>
  </refmeta>
  <refnamediv>
    <refname>&package;</refname>
    <refpurpose>suspend the computer on machines using a Macintosh-style PMU</refpurpose>
  </refnamediv>
  <refsynopsisdiv>
    <cmdsynopsis>
      <command>&package;</command>
    </cmdsynopsis>
  </refsynopsisdiv>
  <refsect1>
    <title>DESCRIPTION</title>
    <para>This manual page documents briefly the
      <command>&package;</command> command.</para>
    <para><command>&package;</command> is a command line program to suspend a computer on machines using a Macintosh-style PMU</para>
  </refsect1>
  <refsect1>
    <title>EXIT CODES</title>
    <para>
      The command succeeds (status 0) if the machine uses a Macintosh-style
      PMU, and suspended successfully.  The command fails (status other than
      0) otherwise.
      It is designed to be easy to use in shell scripts.
    </para>
    <variablelist>
      <varlistentry>
        <term>
          <option>0 (true)</option>
        </term>
        <listitem>
          <para>System was suspended using PMU.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <option>1 (false)</option>
        </term>
        <listitem>
          <para>System could not be suspended using PMU.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>
  <refsect1>
    <title>OPTIONS</title>
    <para>This program follows the usual &gnu; command line syntax,
      with long options starting with two dashes (`-').  A summary of
      options is included below. </para>
    <variablelist>
      <varlistentry>
        <term>
          <option>--suspend</option>
        </term>
        <listitem>
          <para>Suspend the computer.</para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term>
          <option>--help</option>
        </term>
        <listitem>
          <para>Show help message.</para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>
  <refsect1>
    <title>SEE ALSO</title>
    <para>pm-suspend (1).</para>
  </refsect1>
  <refsect1>
    <title>AUTHOR</title>
    <para>This manual page was written by Richard Hughes <email>richard@hughsie.com</email>.
    </para>
  </refsect1>
</refentry>