]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsipc: make --id usable with all output formats and with -o
authorKarel Zak <kzak@redhat.com>
Thu, 23 Jul 2015 09:09:49 +0000 (11:09 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 23 Jul 2015 09:09:49 +0000 (11:09 +0200)
commit2916afa3f510182987f88c17bade5dffb4aaf0b8
tree43297888b518246861c43d9b3bbaabb84a8156d9
parent8f405a5bed6c78080c6a54e389edcb11471d1794
lsipc: make --id usable with all output formats and with -o

This patch allows to use things like:

 # lsipc -m --id 47611910 -o COMMAND,SIZE,KEY --json

or

 # lsipc -m --id 47611910 -o SIZE --bytes --noheadings --raw

to get just one value for the resource.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/lsipc.1
sys-utils/lsipc.c