|  | @@ -108,12 +108,14 @@ void printHelp() {
 | 
	
		
			
			| 108 | 108 |  	std::cout << "                                Set the selection rectangle's color. Supports\n";
 | 
	
		
			
			| 109 | 109 |  	std::cout << "                                  RGB or RGBA values.\n";
 | 
	
		
			
			| 110 | 110 |  	std::cout << "                                  (default=`0.5,0.5,0.5,1')\n";
 | 
	
		
			
			| 111 |  | -	std::cout << "  -n, --nodecorations=INT           Attempt to select child windows in order to\n";
 | 
	
		
			
			|  | 111 | +	std::cout << "  -n, --nodecorations=INT       Attempt to select child windows in order to\n";
 | 
	
		
			
			| 112 | 112 |  	std::cout << "                                  avoid window decorations. Setting this to\n";
 | 
	
		
			
			| 113 | 113 |      std::cout << "                                  1 will enable a light attempt to\n";
 | 
	
		
			
			| 114 | 114 |      std::cout << "                                  remove decorations. Setting this to 2 will\n";
 | 
	
		
			
			| 115 |  | -    std::cout << "                                  enable an aggressive decoration removal.\n";
 | 
	
		
			
			|  | 115 | +    std::cout << "                                  enable aggressive decoration removal.\n";
 | 
	
		
			
			| 116 | 116 |      std::cout << "                                  (default=`0')\n";
 | 
	
		
			
			|  | 117 | +	std::cout << "  -q, --quiet                   Disable any unnecessary cerr output. Any\n";
 | 
	
		
			
			|  | 118 | +	std::cout << "                                  warnings simply won't print.\n";
 | 
	
		
			
			| 117 | 119 |  	std::cout << "  -l, --highlight               Instead of outlining selections, slop\n";
 | 
	
		
			
			| 118 | 120 |  	std::cout << "                                  highlights it. This is only useful when\n";
 | 
	
		
			
			| 119 | 121 |  	std::cout << "                                  --color is set to a transparent color.\n";
 | 
	
	
		
			
			|  | @@ -151,7 +153,9 @@ void printHelp() {
 | 
	
		
			
			| 151 | 153 |  int app( int argc, char** argv ) {
 | 
	
		
			
			| 152 | 154 |      // Options just validates all of our input from argv
 | 
	
		
			
			| 153 | 155 |      Options options( argc, argv );
 | 
	
		
			
			| 154 |  | -    bool help;
 | 
	
		
			
			|  | 156 | +    bool quiet = false;
 | 
	
		
			
			|  | 157 | +    options.getBool( "quiet", 'q', quiet );
 | 
	
		
			
			|  | 158 | +    bool help = false;
 | 
	
		
			
			| 155 | 159 |      if ( options.getBool( "help", 'h', help ) ) {
 | 
	
		
			
			| 156 | 160 |          printHelp();
 | 
	
		
			
			| 157 | 161 |          return 0;
 | 
	
	
		
			
			|  | @@ -174,13 +178,15 @@ int app( int argc, char** argv ) {
 | 
	
		
			
			| 174 | 178 |  
 | 
	
		
			
			| 175 | 179 |      // Finally we do the real selection.
 | 
	
		
			
			| 176 | 180 |      bool cancelled = false;
 | 
	
		
			
			| 177 |  | -    selection = SlopSelect(parsedOptions, &cancelled);
 | 
	
		
			
			|  | 181 | +    selection = SlopSelect(parsedOptions, &cancelled, quiet);
 | 
	
		
			
			| 178 | 182 |      
 | 
	
		
			
			| 179 | 183 |      // Here we're done with the parsed option data.
 | 
	
		
			
			| 180 | 184 |      delete parsedOptions;
 | 
	
		
			
			| 181 | 185 |      // We know if we cancelled or not
 | 
	
		
			
			| 182 | 186 |      if ( cancelled ) {
 | 
	
		
			
			| 183 |  | -        std::cerr << "Selection was cancelled by keystroke or right-click.\n";
 | 
	
		
			
			|  | 187 | +        if ( !quiet ) {
 | 
	
		
			
			|  | 188 | +            std::cerr << "Selection was cancelled by keystroke or right-click.\n";
 | 
	
		
			
			|  | 189 | +        }
 | 
	
		
			
			| 184 | 190 |          return 1;
 | 
	
		
			
			| 185 | 191 |      }
 | 
	
		
			
			| 186 | 192 |      // If we recieved a format option, we output the specified output.
 |