summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-05-24 13:11:19 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-05-24 13:11:19 +0000
commita80b01caecfc8a0844f7b6eecf9281fb0850d924 (patch)
treea2c1fadf02544a8209ba215c5cc68fed2c5a08d0
parenta266a414cd1b2264861deff1f2d73a9a839d5fad (diff)
document the -m flag, normally only used by su(1); woods@most.weird.com,
NetBSD PR/5802
-rw-r--r--bin/csh/csh.110
1 files changed, 8 insertions, 2 deletions
diff --git a/bin/csh/csh.1 b/bin/csh/csh.1
index a684f8d3273..06bfd6957a9 100644
--- a/bin/csh/csh.1
+++ b/bin/csh/csh.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: csh.1,v 1.25 1999/05/23 14:10:46 aaron Exp $
+.\" $OpenBSD: csh.1,v 1.26 1999/05/24 13:11:18 aaron Exp $
.\" $NetBSD: csh.1,v 1.10 1995/03/21 09:02:35 cgd Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -42,7 +42,7 @@
.Nd a shell (command interpreter) with C-like syntax
.Sh SYNOPSIS
.Nm csh
-.Op Fl bcefinstvVxX
+.Op Fl bcefimnstvVxX
.Op arg ...
.Nm csh
.Op Fl l
@@ -99,6 +99,12 @@ and outputs are terminals.
The shell is a login shell (only applicable if
.Fl l
is the only flag specified).
+.It Fl m
+Read
+.Pa \&.cshrc ,
+regardless of its owner and group. This option is dangerous and should only
+be used by
+.Xr su 1 .
.It Fl n
Commands are parsed, but not executed.
This aids in syntactic checking of shell scripts. When used interactively, the