summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-30 18:33:49 -0800
committerJakub Kicinski <kuba@kernel.org>2023-01-31 20:36:03 -0800
commit8dfec0a8886880868802094967c6a769b6d15737 (patch)
tree818f1931f5d8541f526cefba536ee644163067fa /block
parent4cd2796f3f8d82aa3a13d3eca39950fe6fe9d672 (diff)
tools: ynl: use operation names from spec on the CLI
When I wrote the first version of the Python code I was quite excited that we can generate class methods directly from the spec. Unfortunately we need to use valid identifiers for method names (specifically no dashes are allowed). Don't reuse those names on the CLI, it's much more natural to use the operation names exactly as listed in the spec. Instead of: ./cli --do rings_get use: ./cli --do rings-get Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions