summaryrefslogtreecommitdiff
blob: 66ed023ff8427db9eefb52f406bebbc8439b7eb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
From 80fd8efab3f56c698b4182846d8707916849cad9 Mon Sep 17 00:00:00 2001
From: Kai-Uwe Behrmann <ku.b@gmx.de>
Date: Sat, 9 Feb 2013 18:21:47 +0100
Subject: [PATCH] * [tools]: add more verbosity to oy-monitor -v

Here to the profile assignment part.
---
 src/tools/oyranos_gamma.c |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/src/tools/oyranos_gamma.c b/src/tools/oyranos_gamma.c
index f2206a5..005bdd2 100644
--- a/src/tools/oyranos_gamma.c
+++ b/src/tools/oyranos_gamma.c
@@ -747,16 +747,32 @@ int main( int argc , char** argv )
 
       if(monitor_profile)
       {
+        if(verbose)
+          fprintf( stdout, "oyDeviceSetProfile()\n" );
         oyDeviceSetProfile( device, monitor_profile );
+        if(verbose)
+          fprintf( stdout, "oyDeviceUnset()\n" );
         oyDeviceUnset( device );
       } else
       if(erase || unset)
+      {
+        if(verbose)
+          fprintf( stdout, "oyDeviceUnset()\n" );
         oyDeviceUnset( device );
+      }
       if(erase)
+      {
+        if(verbose)
+          fprintf( stdout, "oyConfig_EraseFromDB()\n" );
         oyConfig_EraseFromDB( device );
+      }
 
       if(setup)
+      {
+        if(verbose)
+          fprintf( stdout, "oyDeviceSetup()\n" );
         oyDeviceSetup( device );
+      }
 
       oyConfig_Release( &device );
     }
-- 
1.5.6.5