mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	pw-dump: respect NO_COLOR
See no-color.org
This commit is contained in:
		
							parent
							
								
									c6aa48548e
								
							
						
					
					
						commit
						4873dbcf8e
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -1378,7 +1378,8 @@ int main(int argc, char *argv[])
 | 
				
			||||||
	pw_init(&argc, &argv);
 | 
						pw_init(&argc, &argv);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	data.out = stdout;
 | 
						data.out = stdout;
 | 
				
			||||||
	colors = true;
 | 
						if (getenv("NO_COLOR") == NULL)
 | 
				
			||||||
 | 
							colors = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	while ((c = getopt_long(argc, argv, "hVr:mN", long_options, NULL)) != -1) {
 | 
						while ((c = getopt_long(argc, argv, "hVr:mN", long_options, NULL)) != -1) {
 | 
				
			||||||
		switch (c) {
 | 
							switch (c) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue