Update readme, add conflict
This commit is contained in:
		
							parent
							
								
									b781a7ff4a
								
							
						
					
					
						commit
						f75d03c570
					
				| @ -15,18 +15,17 @@ This is the harmony CLI, a minimal implementation | ||||
| The current help text: | ||||
| 
 | ||||
| ```` | ||||
| Usage: harmony_cli [OPTIONS] | ||||
| Usage: example-cli [OPTIONS] | ||||
| 
 | ||||
| Options: | ||||
|   -r, --run              Run score(s) or not | ||||
|   -y, --yes              Run score(s) or not | ||||
|   -f, --filter <FILTER>  Filter query | ||||
|   -i, --interactive      Run interactive TUI or not | ||||
|   -a, --all              Run all or nth, defaults to all | ||||
|   -n, --number <NUMBER>  Run nth matching, zero indexed [default: 0] | ||||
|   -l, --list             list scores, will also be affected by run filter | ||||
|   -h, --help             Print help | ||||
|   -V, --version          Print version | ||||
| ``` | ||||
|   -V, --version          Print version``` | ||||
| 
 | ||||
| ## Core architecture | ||||
| 
 | ||||
|  | ||||
| @ -27,7 +27,8 @@ pub struct Args { | ||||
|         short, | ||||
|         long, | ||||
|         default_value_t = true, | ||||
|         default_value_if("number", ArgPredicate::IsPresent, "false") | ||||
|         default_value_if("number", ArgPredicate::IsPresent, "false"), | ||||
|         conflicts_with = "number" | ||||
|     )] | ||||
|     all: bool, | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user