summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys-utils/lsipc.17
-rw-r--r--sys-utils/lsipc.c3
2 files changed, 6 insertions, 4 deletions
diff --git a/sys-utils/lsipc.1 b/sys-utils/lsipc.1
index 69f0cf197..9bb1dce91 100644
--- a/sys-utils/lsipc.1
+++ b/sys-utils/lsipc.1
@@ -74,8 +74,8 @@ Specify which output columns to print. Use
.B \-\-help
to get a list of all supported columns.
.TP
-\fB\-p\fR, \fB\-\-pid\fR
-Show PIDs of creator and last operator.
+\fB\-b\fR, \fB\-\-bytes\fR
+Print size in bytes rather than in human readable format.
.TP
\fB\-r\fR, \fB\-\-raw\fR
Raw output (no columnation).
@@ -97,6 +97,9 @@ 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\-P\fR, \fB\-\-numeric\-perms\fR
+Print numeric permissions in PERMS column.
.SH EXIT STATUS
.TP
diff --git a/sys-utils/lsipc.c b/sys-utils/lsipc.c
index ee203e02a..239aaf5d7 100644
--- a/sys-utils/lsipc.c
+++ b/sys-utils/lsipc.c
@@ -1094,7 +1094,6 @@ int main(int argc, char *argv[])
{ "notruncate", no_argument, NULL, OPT_NOTRUNC },
{ "numeric-perms", no_argument, NULL, 'P' },
{ "output", required_argument, NULL, 'o' },
- { "pid", no_argument, NULL, 'p' },
{ "queues", no_argument, NULL, 'q' },
{ "raw", no_argument, NULL, 'r' },
{ "semaphores", no_argument, NULL, 's' },
@@ -1123,7 +1122,7 @@ int main(int argc, char *argv[])
scols_init_debug(0);
- while ((opt = getopt_long(argc, argv, "bceghi:Jlmno:PqrstuV", longopts, NULL)) != -1) {
+ while ((opt = getopt_long(argc, argv, "bceghi:Jlmno:PqrstV", longopts, NULL)) != -1) {
err_exclusive_options(opt, longopts, excl, excl_st);