[clinfo] 18/30: List mode: document in man and add a TODO

Andreas Beckmann anbe at moszumanska.debian.org
Tue Apr 28 12:53:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

anbe pushed a commit to branch master
in repository clinfo.

commit 7ec2bfdbc0ab4c0c7151fcaefbe87fd0a22cf231
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date:   Wed Mar 25 14:00:11 2015 +0100

    List mode: document in man and add a TODO
---
 man/clinfo.1 | 3 +++
 src/clinfo.c | 2 ++
 2 files changed, 5 insertions(+)

diff --git a/man/clinfo.1 b/man/clinfo.1
index b495504..ddf3c9a 100644
--- a/man/clinfo.1
+++ b/man/clinfo.1
@@ -30,6 +30,9 @@ is invoked with a name that contains the string
 .B --offline
 shows also offline devices for platforms that expose this feature;
 .TP
+.BR -l ", " --list
+list platforms and devices by name, with no (other) properties;
+.TP
 .BR -h ", " -?
 show usage;
 .TP
diff --git a/src/clinfo.c b/src/clinfo.c
index b93b37d..0e5c7d5 100644
--- a/src/clinfo.c
+++ b/src/clinfo.c
@@ -57,6 +57,8 @@ enum output_modes output_mode = CLINFO_HUMAN;
 /* Specify if we should only be listing the platform and devices;
  * can be done in both human and raw mode, and only the platform
  * and device names (and number) will be shown
+ * TODO check if terminal supports UTF-8 and use Unicode line-drawing
+ * for the tree in list mode
  */
 cl_bool list_only = CL_FALSE;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/clinfo.git



More information about the Pkg-opencl-commits mailing list