From 2916afa3f510182987f88c17bade5dffb4aaf0b8 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 23 Jul 2015 11:09:49 +0200 Subject: 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 --- sys-utils/lsipc.1 | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'sys-utils/lsipc.1') diff --git a/sys-utils/lsipc.1 b/sys-utils/lsipc.1 index e1e12c103..5ef714cf2 100644 --- a/sys-utils/lsipc.1 +++ b/sys-utils/lsipc.1 @@ -19,6 +19,8 @@ This option needs to be combined with one of the three resource options: .BR \-m , .BR \-q " or" .BR \-s . +The default \fB\-\-id\fR output format is possible to override by +the \fB\-\-list \-\-raw \-\-json\fR or \fB\-\-export\fR options. .TP \fB\-g\fR, \fB\-\-global\fR Show system-wide usage and limits for a single IPC type. @@ -48,15 +50,15 @@ Write information about active semaphore sets. \fB\-c\fR, \fB\-\-creator\fR Show creator and owner. .TP -\fB\-\-colon\-separate\fR -Separate info about each user with a colon instead of a newline. -.TP \fB\-e\fR, \fB\-\-export\fR Output data in the format of NAME=VALUE. .TP \fB\-J\fR, \fB\-\-json\fR Use the JSON output format. .TP +\fB\-l\fR, \fB\-\-list\fR +Use the list output format. This is the default except for \fB\-\-id\fR. +.TP \fB\-n\fR, \fB\-\-newline\fR Display each piece of information on a separate line. .TP @@ -94,9 +96,6 @@ operation on semaphores. \fB\-\-time\-format\fR \fItype\fP Display dates in short, full or iso format. The default is short, this time format is designed to be space efficient and human readable. -.TP -\fB\-z\fR, \fB\-\-print0\fR -Delimit user entries with a nul character, instead of a newline. .SH EXIT STATUS .TP -- cgit v1.2.3-55-g7522