MCPcopy Create free account
hub / github.com/ceph/ceph / concise_sig

Function concise_sig

src/pybind/ceph_argparse.py:911–915  ·  view source on GitHub ↗

Return string representation of sig useful for syntax reference in help

(sig)

Source from the content-addressed store, hash-verified

909
910
911def concise_sig(sig):
912 """
913 Return string representation of sig useful for syntax reference in help
914 """
915 return ' '.join([d.helpstr() for d in sig])
916
917
918def descsort_key(sh):

Callers 2

descsort_keyFunction · 0.85
validate_commandFunction · 0.85

Calls 2

helpstrMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected