realpath: improve usage description for --relative-{to,base}
commit65b7bf790c5600611d3420d94b7fde539e428f3d
authorAssaf Gordon <assafgordon@gmail.com>
Sat, 24 Jun 2017 23:47:26 +0000 (24 19:47 -0400)
committerPádraig Brady <P@draigBrady.com>
Tue, 29 Aug 2017 06:22:28 +0000 (28 23:22 -0700)
treea392b4af1d4f27c3c21afcb018fddfb5600a20af
parentac2eebc224e859862e86645664ad43caebbb0bd3
realpath: improve usage description for --relative-{to,base}

* src/realpath.c (usage): Explicitly say 'DIR' instead of 'FILE' for
--relative-{to,base} parameters, to avoid giving the impression
that regular files can be used as relative base.
* doc/coreutils.texi (realpath): Same.
doc/coreutils.texi
src/realpath.c