mirror of
https://git.alemi.dev/guestbook.rs.git
synced 2024-11-12 19:39:28 +01:00
fix: renamed default to config
This commit is contained in:
parent
6ad5bc86bb
commit
94b64f98ed
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ enum CliAction {
|
|||
},
|
||||
|
||||
/// print a sample configuration, redirect to file and customize
|
||||
Default,
|
||||
Config,
|
||||
|
||||
/// review sent pages and approve for public view
|
||||
Review {
|
||||
|
@ -64,7 +64,7 @@ async fn main() {
|
|||
.init();
|
||||
|
||||
match args.action {
|
||||
CliAction::Default => println!("{}", toml::to_string(&Config::default()).unwrap()),
|
||||
CliAction::Config => println!("{}", toml::to_string(&Config::default()).unwrap()),
|
||||
CliAction::Review { batch } => {
|
||||
use std::io::Write;
|
||||
sqlx::any::install_default_drivers(); // must install all available drivers before connecting
|
||||
|
|
Loading…
Reference in a new issue