summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2005-10-04 16:19:30 +0000
committerJean Delvare <jdelvare@suse.de>2005-10-04 16:19:30 +0000
commit979b2b36c08dd04e3818117727a9340d6d594cb9 (patch)
treedd6474cffe513e7037f79b28dbf15bf6400cb1a2 /man
parent8953549ddf7331c54289dde19937fe82b1d2cc4a (diff)
downloaddmidecode-git-979b2b36c08dd04e3818117727a9340d6d594cb9.tar.gz
Document the new -s, --string option.
Diffstat (limited to 'man')
-rw-r--r--man/vpddecode.816
1 files changed, 16 insertions, 0 deletions
diff --git a/man/vpddecode.8 b/man/vpddecode.8
index 34f0641..a216b42 100644
--- a/man/vpddecode.8
+++ b/man/vpddecode.8
@@ -37,11 +37,27 @@ the accuracy of these labels is welcome.
.BR "-d" ", " "--dev-mem FILE"
Read memory from device \fBFILE\fR (default: \fB/dev/mem\fR)
.TP
+.BR "-s" ", " "--string KEYWORD"
+Only display the value of the \s-1VPD\s0 string identified by \fBKEYWORD\fR.
+\fBKEYWORD\fR must be a keyword from the following list: \fBbios-build-id\fR,
+\fBbox-serial-number\fR, \fBmotherboard-serial-number\fR,
+\fBmachine-type-model\fR, \fBbios-release-date\fR.
+Each keyword corresponds to an offset and a length within the \s-1VPD\s0
+record.
+Not all strings may be defined on all \s-1VPD\s0-enabled systems.
+If \fBKEYWORD\fR is not provided or not valid, a list of all valid
+keywords is printed and
+.B vpddecode
+exits with an error.
+This option cannot be used more than once.
+Mutually exclusive with \fB--dump\fR.
+.TP
.BR "-u" ", " "--dump"
Do not decode the VPD records, dump their contents as hexadecimal instead.
Note that this is still a text output, no binary data will be thrown upon
you. ASCII equivalent is displayed when possible. This option is mainly
useful for debugging.
+Mutually exclusive with \fB--string\fR.
.TP
.BR "-h" ", " "--help"
Display usage information and exit