delphix / sdb

The Slick Debugger
Apache License 2.0
57 stars 20 forks source link

Documentation for spl_cache is incorrect #295

Closed ryao closed 1 year ago

ryao commented 2 years ago

help spl_cache uses spl_kmem_caches | filter obj.skc_name == "ddt_cache" | spl_cache as an example, which is broken:

sdb> spl_kmem_caches | filter obj.skc_name == "ddt_cache" | spl_cache
usage: filter [-h] expr
filter: error: unrecognized arguments: == ddt_cache

It is missing single quotes. spl_kmem_caches | filter 'obj.skc_name == "ddt_cache"' | spl_cache works.

sdimitro commented 1 year ago

Fixed in 6.0/stage. Should propagate to master soon