summaryrefslogtreecommitdiffstats
path: root/usr.sbin/jls/jls.8
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2013-05-17 08:48:16 +0000
committerdes <des@FreeBSD.org>2013-05-17 08:48:16 +0000
commit945962b699a83c55253c04603939988a19197aea (patch)
treee55b4185f9f16533d9704783a4b9c5fb54bf02e0 /usr.sbin/jls/jls.8
parent78ff6ffd7d3bcd9e7620c4fc70c9ce6c7a948a92 (diff)
downloadFreeBSD-src-945962b699a83c55253c04603939988a19197aea.zip
FreeBSD-src-945962b699a83c55253c04603939988a19197aea.tar.gz
Add a -N option that prints the jail name rather than its number.
MFC after: 3 weeks
Diffstat (limited to 'usr.sbin/jls/jls.8')
-rw-r--r--usr.sbin/jls/jls.88
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/jls/jls.8 b/usr.sbin/jls/jls.8
index 2107405..3137654 100644
--- a/usr.sbin/jls/jls.8
+++ b/usr.sbin/jls/jls.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd July 8, 2009
+.Dd July 20, 2012
.Dt JLS 8
.Os
.Sh NAME
@@ -33,7 +33,7 @@
.Nd "list jails"
.Sh SYNOPSIS
.Nm
-.Op Fl dhnqsv
+.Op Fl dhNnqsv
.Op Fl j Ar jail
.Op Ar parameter ...
.Sh DESCRIPTION
@@ -71,6 +71,10 @@ Print a header line containing the parameters listed.
If no parameters are given on the command line,
.Va all
is assumed.
+.It Fl N
+In the standard display mode, print each jail's name instead of its
+numeric ID.
+If the jail does not have a name, the numeric ID is printed instead.
.It Fl n
Print parameters in
.Dq name=value
OpenPOWER on IntegriCloud