aboutsummaryrefslogtreecommitdiffstats
path: root/fbi.c
diff options
context:
space:
mode:
Diffstat (limited to 'fbi.c')
-rw-r--r--fbi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fbi.c b/fbi.c
index 8315321..c7d84b0 100644
--- a/fbi.c
+++ b/fbi.c
@@ -1466,6 +1466,10 @@ int main(int argc, char *argv[])
version();
exit(0);
}
+ if (GET_DEVICE_INFO()) {
+ drm_info(cfg_get_str(O_DEVICE));
+ exit(0);
+ }
if (GET_WRITECONF())
fbi_write_config();