~ubuntu-branches/debian/squeeze/hal/squeeze

« back to all changes in this revision

Viewing changes to doc/man/hal-get-property.1

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-10-23 12:33:58 UTC
  • Revision ID: james.westby@ubuntu.com-20071023123358-xaf8mjc5n84d5gtz
Tags: upstream-0.5.10
ImportĀ upstreamĀ versionĀ 0.5.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" 
2
 
.\" hal-get-property manual page.
3
 
.\" Copyright (C) 2007 David Zeuthen <david@fubar.dk>
4
 
.\"
5
 
.TH HAL-GET-PROPERTY 1
6
 
.SH NAME
7
 
hal-get-property \- get a property from a device object
8
 
.SH SYNOPSIS
9
 
.PP
10
 
.B hal-get-property
11
 
[options]
12
 
 
13
 
.SH DESCRIPTION
14
 
 
15
 
\fIhal-get-property\fP retrieves a property from a device object in
16
 
the
17
 
.B HAL 
18
 
device database. For
19
 
more information about both the big picture and specific
20
 
.B HAL
21
 
properties, refer to the \fIHAL spec\fP which can be found in
22
 
.I "/usr/share/doc/hal-0.5.9/spec/hal-spec.html"
23
 
depending on the distribution.
24
 
 
25
 
.SH OPTIONS
26
 
The following options are supported:
27
 
.TP
28
 
.I "--udi"
29
 
The UDI (\fIUnique Device Identifier\fP) of the device object.
30
 
.TP
31
 
.I "--key"
32
 
The name of the property.
33
 
.TP
34
 
.I "--hex"
35
 
Show int32/uint64 values in hex (without a leading 0x).
36
 
.TP
37
 
.I "--verbose"
38
 
Verbose output.
39
 
.TP
40
 
.I "--help"
41
 
Print out usage.
42
 
.TP
43
 
.I "--version"
44
 
Print the version.
45
 
 
46
 
.SH RETURN VALUE
47
 
.PP
48
 
If both the property and device object exists the value of the
49
 
property is printed on
50
 
.I stdout
51
 
and the program will exit with exit code 0. Otherwise the exit code
52
 
will be non-zero.
53
 
 
54
 
.SH BUGS
55
 
.PP
56
 
Please send bug reports to either the distribution or the HAL
57
 
mailing list, see 
58
 
.I "http://lists.freedesktop.org/mailman/listinfo/hal"
59
 
on how to subscribe.
60
 
 
61
 
.SH SEE ALSO
62
 
.PP
63
 
\&\fIhald\fR\|(8), 
64
 
\&\fIlshal\fR\|(1), 
65
 
\&\fIhal-set-property\fR\|(1),
66
 
\&\fIhal-find-by-property\fR\|(1),
67
 
\&\fIhal-find-by-capability\fR\|(1)
68
 
 
69
 
.SH AUTHOR
70
 
Written by David Zeuthen <david@fubar.dk> with a lot of help from many
71
 
others.
72