diff options
author | Miles Bader <miles@gnu.org> | 1995-05-16 00:38:08 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-05-16 00:38:08 +0000 |
commit | 12a7852ec1adc8eb4985b3960daf3ef893c0b3ca (patch) | |
tree | 87e1674b2621352af900bc007de591729a282c42 /utils/fsysopts.c | |
parent | 44b04acdaf26373492901119c46936f5a5fac2db (diff) |
Add -R to the short flags list.
Make non-L usage ignore symbolic links, not all translators.
Tweak the help message.
Diffstat (limited to 'utils/fsysopts.c')
-rw-r--r-- | utils/fsysopts.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/fsysopts.c b/utils/fsysopts.c index cf85e52a..ff7e511b 100644 --- a/utils/fsysopts.c +++ b/utils/fsysopts.c @@ -47,7 +47,7 @@ usage(status) printf(USAGE, program_invocation_name); printf("\ \n\ - -L, --dereference if a translator exists, put the new one on top\n\ + -L, --dereference if FILE is a symbolic link, follow it\n\ -R, --recursive pass these options to any child translators\n\ --help give this help list\n\ --version print version number of program\n\ @@ -57,7 +57,7 @@ usage(status) exit(status); } -#define SHORT_OPTIONS "L?V" +#define SHORT_OPTIONS "LR?V" static struct option options[] = { @@ -107,7 +107,7 @@ main(int argc, char *argv[]) default: usage(-1); } - node = file_name_lookup(node_name, (deref ? 0 : O_NOTRANS), 0666); + node = file_name_lookup(node_name, (deref ? 0 : O_NOLINK), 0666); if (node == MACH_PORT_NULL) error(1, errno, "%s", node_name); |