mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 14:26:58 +00:00
update dependencies
This commit is contained in:
parent
9e9302d050
commit
f89cdae359
3 changed files with 15 additions and 15 deletions
|
@ -17,7 +17,7 @@ fn main() {
|
|||
Some("raw") => Box::new(RawController::new(p)),
|
||||
Some("lin") => Box::new(LinController::new(p)),
|
||||
Some("log") => Box::new(LogController::new(p)),
|
||||
Some(_) | None => panic!(ERROR_MSG),
|
||||
Some(_) | None => panic!("{}", ERROR_MSG),
|
||||
};
|
||||
|
||||
if matches.is_present("list") {
|
||||
|
@ -41,7 +41,7 @@ fn main() {
|
|||
} else if matches.is_present("ful") {
|
||||
controller.set_brightness(controller.get_max_brightness());
|
||||
} else {
|
||||
panic!(ERROR_MSG);
|
||||
panic!("{}", ERROR_MSG);
|
||||
}
|
||||
|
||||
exit(exitcode::OK);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue