aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-12-19 13:40:22 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-12-19 13:40:22 +0100
commit4177426be69fc7a857212faa2e7e6167a7cbcad2 (patch)
tree0ac7d8caf1937b4aa0f3ae300426469fb17e5680
parent94d8ba7f411ddf1073c1114d0939ea5359cd6c46 (diff)
downloaddrminfo-4177426be69fc7a857212faa2e7e6167a7cbcad2.tar.gz
drminfo: add --properties
-rw-r--r--drminfo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drminfo.c b/drminfo.c
index d030629..ef9e259 100644
--- a/drminfo.c
+++ b/drminfo.c
@@ -453,7 +453,7 @@ static void usage(FILE *fp)
" -P print supported planes, with modifiers\n"
" -f | --formats print supported formats\n"
" -F | --test-formats print testable (drmtest) formats\n"
- " -r list properties\n"
+ " -r | --properties list object properties\n"
" -l | --list-formats list all known formats\n"
"\n");
}
@@ -497,6 +497,10 @@ struct option long_opts[] = {
.has_arg = false,
.val = 'F',
},{
+ .name = "properties",
+ .has_arg = false,
+ .val = 'p',
+ },{
.name = "list-formats",
.has_arg = false,
.val = 'l',