=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/su/su.1,v retrieving revision 1.37 retrieving revision 1.38 diff -u -r1.37 -r1.38 --- src/usr.bin/su/su.1 2020/07/08 16:05:27 1.37 +++ src/usr.bin/su/su.1 2022/12/22 19:53:23 1.38 @@ -1,4 +1,4 @@ -.\" $OpenBSD: su.1,v 1.37 2020/07/08 16:05:27 millert Exp $ +.\" $OpenBSD: su.1,v 1.38 2022/12/22 19:53:23 kn Exp $ .\" .\" Copyright (c) 1988, 1990 The Regents of the University of California. .\" All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)su.1 6.12 (Berkeley) 7/29/91 .\" -.Dd $Mdocdate: July 8 2020 $ +.Dd $Mdocdate: December 22 2022 $ .Dt SU 1 .Os .Sh NAME @@ -42,7 +42,7 @@ .Op Fl a Ar auth-type .Op Fl c Ar login-class .Op Fl s Ar login-shell -.Op Ar login Op Ar "shell arguments" +.Op Ar login Op Ar shell-argument ... .Ek .Sh DESCRIPTION The @@ -168,10 +168,8 @@ options are mutually exclusive; the last one specified overrides any previous ones. .Pp -If the optional -.Ar "shell arguments" -are provided on the command line, they are passed to the login shell of -the target login. +If shell arguments are provided on the command line, +they are passed to the login shell of the target login. This allows it to pass arbitrary commands via the .Fl c option as understood by most shells.