File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ The options below are only relevant when inspecting a single run or file.
3333.. option :: --detail <source-pattern >
3434
3535 Show more detail on the keys and data of the sources selected by a pattern,
36- in the same formats as ``--source ``. Can be used several times.
36+ in the same formats as ``--source ``. Can be used several times. Only the
37+ selected sources are shown, unless you also use ``--source ``.
3738
3839 This option can make ``lsxfel `` considerably slower.
3940
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ def main(argv=None):
8585 detail_patterns = [p if re .search (r'[*?[]' , p ) else f'*{ p } *'
8686 for p in args .detail ]
8787 source_patterns = [p if re .search (r'[*?[]' , p ) else f'*{ p } *'
88- for p in args .source ]
88+ for p in ( args .source or args . detail ) ]
8989
9090 def dc_info (dc : DataCollection ):
9191 if source_patterns :
You can’t perform that action at this time.
0 commit comments