11 %s [-h] [-s|-e|-c] [-r] [-p pattern] [listofpath]
14 -s: Short format print
15 -e: print Entry names only
16 -c: only Checks duplication of entries
17 -r: print also $ROOTSYS/etc/system.rootmap
18 -p: print only pattern matching (Python style) entries
20 dump rootmap dictionaries informations. If no path is given, the
21 LD_LIBRARY_PATH is used. By default, prints the name of the entry,
22 its corresponding library and its block definition inside the
23 rootmap file(s) on separate lines. The output is sorted according to
24 the name of the entry. A Warning is issued if an entry appears
26 """%os.path.basename(argv[0])
30 if __name__ ==
"__main__":
37 opts, args = getopt.getopt(sys.argv[1:],
'hsecrp:')
38 except getopt.GetoptError:
45 if op ==
'-s': printFunc = shortPrintMaps
46 if op ==
'-e': printFunc = printKeys
47 if op ==
'-c': printFunc = checkDict
48 if op ==
'-r': sysrtmap =
True
51 pattern = re.compile(ar)