mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-25 14:26:58 +00:00
show default controller in output
This commit is contained in:
parent
96f92e0d3f
commit
fcc49740c7
2 changed files with 6 additions and 7 deletions
|
@ -27,8 +27,11 @@ fn main() {
|
|||
};
|
||||
|
||||
if matches.is_present("list") {
|
||||
println!("{default_ctrl} [default]");
|
||||
for ctrl in ctrls.keys() {
|
||||
println!("{ctrl}");
|
||||
if ctrl != &default_ctrl {
|
||||
println!("{ctrl}");
|
||||
}
|
||||
}
|
||||
exit(exitcode::OK);
|
||||
} else if let Some(value) = matches.value_of("set") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue