Skip to content

Commit

Permalink
[XrdCl] Make xrdfs locate -h synonymous to locate -m
Browse files Browse the repository at this point in the history
  • Loading branch information
ljanyst committed Jun 12, 2014
1 parent 864ff51 commit 6a34192
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/XrdCl/XrdClFS.cc
Expand Up @@ -632,7 +632,7 @@ XRootDStatus DoLocate( FileSystem *fs,
flags |= OpenFlags::NoWait;
else if( args[i] == "-r" )
flags |= OpenFlags::Refresh;
else if( args[i] == "-m" )
else if( args[i] == "-m" || args[i] == "-h" )
flags |= OpenFlags::PrefName;
else if( args[i] == "-i" )
flags |= OpenFlags::Force;
Expand Down Expand Up @@ -1467,7 +1467,7 @@ XRootDStatus PrintHelp( FileSystem *, Env *,
printf( " -n make the server return the response immediately even\n" );
printf( " though it may be incomplete\n" );
printf( " -d do a recursive (deep) locate\n" );
printf( " -m prefer host names to IP addresses\n" );
printf( " -m|-h prefer host names to IP addresses\n" );
printf( " -i ignore network dependencies\n\n" );

printf( " mkdir [-p] [-m<user><group><other>] <dirname>\n" );
Expand Down

0 comments on commit 6a34192

Please sign in to comment.