fixes
This commit is contained in:
		
							
								
								
									
										14
									
								
								src/main.rs
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								src/main.rs
									
									
									
									
									
								
							| @ -96,12 +96,12 @@ fn main() { | |||||||
|                 "--tag" | "-t" => enable_tag = true, |                 "--tag" | "-t" => enable_tag = true, | ||||||
|                 "--view-tags" | "-vt" => enable_views_tag = true, |                 "--view-tags" | "-vt" => enable_views_tag = true, | ||||||
|                 "--help" | "-h" | "--h" => { |                 "--help" | "-h" | "--h" => { | ||||||
|                     println!("Usage: status [option]\n"); |                     print!("Usage: ristate [option]\n\n"); | ||||||
|                     println!("  --monitor | -m <uint> : select the monitor"); |                     print!("  --monitor | -m <uint> : select the monitor\n"); | ||||||
|                     println!("  --seat | -s <string> : select the seat"); |                     print!("  --seat | -s <string> : select the seat\n"); | ||||||
|                     println!("  --tag | -t : displays the focused tag"); |                     print!("  --tag | -t : displays the focused tag\n"); | ||||||
|                     println!("  --view-tags | -vt : displays the tag of all views"); |                     print!("  --view-tags | -vt : displays the tag of all views\n"); | ||||||
|                     println!("  --window-title | -w : displays the title of the focused view"); |                     println!("  --window-title | -w : displays the title of the focused view\n"); | ||||||
|                     std::process::exit(0); |                     std::process::exit(0); | ||||||
|                 } |                 } | ||||||
|                 _ => break, |                 _ => break, | ||||||
| @ -216,7 +216,7 @@ fn main() { | |||||||
|                 ); |                 ); | ||||||
|             }) |             }) | ||||||
|             .unwrap(); |             .unwrap(); | ||||||
|         if enable_views_tag || enable_tag || enable_title { config.to_string(); } |         config.to_string() | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user