Branch: refs/heads/master Home: https://github.com/xrootd/xrootd Commit: 1ee0d73fd115dc8311b3784407a1985279cffdca https://github.com/xrootd/xrootd/commit/1ee0d73fd115dc8311b3784407a1985279cffdca Author: Mattias Ellert <[log in to unmask]> Date: 2020-05-21 (Thu, 21 May 2020) Changed paths: M docs/man/xrdmapc.1 M src/XrdApps/XrdMapCluster.cc Log Message: ----------- Make the xrdmapc help text and manpage match the code. The short option for --list is -l, not -1. The code that defines the option is src/XrdApps/XrdMapCluster.cc line 481: {OPT_TYPE "list", 1, 0, (int)'l'}, $ xrdmapc -1 xrdmapc: Invalid option, '-1'. $ xrdmapc -l xrdmapc: '-l' argument missing. Add a zero-width space (\&) before 'all' at the start of the line, so that the apostrophe at the start of the line is not interpreted as a macro. Fixes rpmlint warning: $ rpmlint xrootd-client xrootd-client.x86_64: W: manual-page-warning /usr/share/man/man1/xrdmapc.1.gz 21: warning: macro `all'' not defined 1 packages and 0 specfiles checked; 0 errors, 1 warnings. Also fixes broken rendering of the man page where the line with the unknown macro is ignored. Original: OPTIONS -1 | --list [all|m|s] -q | --quiet Does not print error messages to cerr; errors appear inline. Updated: OPTIONS -l | --list [all|m|s] 'all' lists managers and servers (default), 'm' lists only man‐ agers and 's' lists only servers. -q | --quiet Does not print error messages to cerr; errors appear inline. Commit: 6eb8ed50f1e2644eac8b2e2fcde3e12c366b8542 https://github.com/xrootd/xrootd/commit/6eb8ed50f1e2644eac8b2e2fcde3e12c366b8542 Author: Andrew Hanushevsky <[log in to unmask]> Date: 2020-05-21 (Thu, 21 May 2020) Changed paths: M docs/man/xrdmapc.1 M src/XrdApps/XrdMapCluster.cc Log Message: ----------- Merge pull request #1201 from ellert/manpage-fixes Make the xrdmapc help text and manpage match the code. Compare: https://github.com/xrootd/xrootd/compare/a1813d0b796c...6eb8ed50f1e2 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1