]> git.ipfire.org Git - thirdparty/coreutils.git/commit
pwd: support -L and -P
authorEric Blake <ebb9@byu.net>
Mon, 23 Mar 2009 20:48:19 +0000 (14:48 -0600)
committerEric Blake <ebb9@byu.net>
Wed, 25 Mar 2009 12:33:32 +0000 (06:33 -0600)
commit9b4aa5e268da5980f63a1c47c2cd7ba04ad4a394
tree2b8b6e75d23599bd87a601fc8117284e94cf3f20
parent53191d01e23d05f42d0d90abe07b18aae7c50b3a
pwd: support -L and -P

* src/pwd.c (longopts): New variable.
(logical_getcwd): New function.
(main): Use it.
(usage): Document new options.
* doc/coreutils.texi (pwd invocation): Likewise.
* NEWS: Likewise.
* TODO (pwd): Mark it done.
* tests/misc/pwd-option: New file.
* tests/Makefile.am (TESTS): Add test.
* THANKS: Update.
Reported by Paul D. Smith, in savannah bug 24949.
NEWS
THANKS
TODO
doc/coreutils.texi
src/pwd.c
tests/Makefile.am
tests/misc/pwd-option [new file with mode: 0755]