summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu.1
diff options
context:
space:
mode:
authorHeiko Carstens2011-09-06 02:52:56 +0200
committerKarel Zak2011-09-09 06:34:43 +0200
commit44de912cdfc21f734e6556f6f65822d89ae74c72 (patch)
tree534ff7e24848e47b9a6e634d150c4cc7bcb39726 /sys-utils/lscpu.1
parentlscpu: allow read_cache() to be called for offline cpus (diff)
downloadkernel-qcow2-util-linux-44de912cdfc21f734e6556f6f65822d89ae74c72.tar.gz
kernel-qcow2-util-linux-44de912cdfc21f734e6556f6f65822d89ae74c72.tar.xz
kernel-qcow2-util-linux-44de912cdfc21f734e6556f6f65822d89ae74c72.zip
lscpu: add --version option
Add a --version option like most other tools have it. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu.1')
-rw-r--r--sys-utils/lscpu.15
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-utils/lscpu.1 b/sys-utils/lscpu.1
index ae613f377..b7b4fe96c 100644
--- a/sys-utils/lscpu.1
+++ b/sys-utils/lscpu.1
@@ -6,7 +6,7 @@
lscpu \- display information on CPU architecture
.SH SYNOPSIS
.B lscpu
-.RB [ \-hpx ]
+.RB [ \-hpxV ]
.RB [ \-s
.IR directory ]
.SH DESCRIPTION
@@ -47,6 +47,9 @@ a snapshot from a different system.
.BR \-x , " \-\-hex"
Use hexadecimal masks for CPU sets (e.g. 0x3). The default is to print the sets
in list format (e.g. 0,1).
+.TP
+.BR \-V , " \-\-version"
+Output version information and exit.
.SH BUGS
The basic overview about CPU family, model, etc. is always based on the first
CPU only.