mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-27 10:30:41 +02:00
Allow --update to be run on its own
This commit is contained in:
parent
bb72cd1a0f
commit
68b3ff23bc
1 changed files with 5 additions and 2 deletions
|
|
@ -161,8 +161,11 @@ fn main() {
|
|||
process::exit(1);
|
||||
}
|
||||
|
||||
println!("{}", USAGE);
|
||||
process::exit(1);
|
||||
// Some flags can be run without a command.
|
||||
if !args.flag_update {
|
||||
println!("{}", USAGE);
|
||||
process::exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue