summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-11-17 16:54:12 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-11-17 16:54:12 +0000
commitfcf4b2f12ab5618542cc036a40239eedd658f95a (patch)
treee820850bedd364fda1b947a1dee61fec7b93c006
parent10658cd37c3d9b149867cbb25ed713aa6b32ad0a (diff)
downloadpw-darwin-fcf4b2f12ab5618542cc036a40239eedd658f95a.tar.gz
pw-darwin-fcf4b2f12ab5618542cc036a40239eedd658f95a.tar.zst
pw-darwin-fcf4b2f12ab5618542cc036a40239eedd658f95a.zip
Partially revert r367756 (chpass(1) synopsis changes)
Let's have two entries in the synopsis: - chpass now lists options which can be used for non-NIS-specific functionalities. - ypchpass additionally lists the NIS-specific flags. Technically, it is an artificial distinction, as chpass and ypchpass behave identically. Nevertheless, it might help navigating the synopsis section. Reviewed by: imp MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D27251
-rw-r--r--chpass/chpass.18
1 files changed, 7 insertions, 1 deletions
diff --git a/chpass/chpass.1 b/chpass/chpass.1
index 0e792df..7de92db 100644
--- a/chpass/chpass.1
+++ b/chpass/chpass.1
@@ -40,7 +40,13 @@
.Nm ypchsh
.Nd add or change user database information
.Sh SYNOPSIS
-.Nm
+.Nm chpass
+.Op Fl a Ar list
+.Op Fl e Ar expiretime
+.Op Fl p Ar encpass
+.Op Fl s Ar newshell
+.Op user
+.Nm ypchpass
.Op Fl loy
.Op Fl a Ar list
.Op Fl d Ar domain