summaryrefslogtreecommitdiffstats
path: root/bin/pwd
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-05-18 13:52:07 +0000
committertjr <tjr@FreeBSD.org>2002-05-18 13:52:07 +0000
commit35d66bbcdb782d13d542c467f0d7ea307bb148d4 (patch)
treecfbfebcafac2ce530d7fa5159a3952a0884d1130 /bin/pwd
parentf1c27c590f55a304c71fcbf9d75febb0c03b909b (diff)
downloadFreeBSD-src-35d66bbcdb782d13d542c467f0d7ea307bb148d4.zip
FreeBSD-src-35d66bbcdb782d13d542c467f0d7ea307bb148d4.tar.gz
Back out part of previous commit: make -P the default again until I'm
convinced it's a good idea.
Diffstat (limited to 'bin/pwd')
-rw-r--r--bin/pwd/pwd.12
-rw-r--r--bin/pwd/pwd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/pwd/pwd.1 b/bin/pwd/pwd.1
index 7add662..7c1fbca 100644
--- a/bin/pwd/pwd.1
+++ b/bin/pwd/pwd.1
@@ -66,7 +66,7 @@ Display the physical current working directory (all symbolic links resolved).
.El
.Pp
If no options are specified, the
-.Fl L
+.Fl P
option is assumed.
.Sh ENVIRONMENT
Environment variables used by
diff --git a/bin/pwd/pwd.c b/bin/pwd/pwd.c
index 76524c7..c66276d 100644
--- a/bin/pwd/pwd.c
+++ b/bin/pwd/pwd.c
@@ -65,7 +65,7 @@ main(int argc, char *argv[])
int ch;
char *p;
- physical = 0;
+ physical = 1;
while ((ch = getopt(argc, argv, "LP")) != -1)
switch (ch) {
case 'L':
OpenPOWER on IntegriCloud