Skip to content

Commit f4c9852

Browse files
refactor
1 parent f5014f9 commit f4c9852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wpe-cli/src/sites/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ pub fn init(sub_n: &ArgMatches, api: API, headless: Option<&bool>) -> Result<()>
8080
}
8181
} else {
8282
// Handle logic for when headless mode is not enabled
83-
let options = vec!["List All", "Add site", "Update Site", "Delete Site"];
83+
let options: [&str; 4] = ["List All", "Add site", "Update Site", "Delete Site"];
8484
let selection = Select::with_theme(&ColorfulTheme::default())
8585
.with_prompt("Choose an option")
8686
.items(&options)

0 commit comments

Comments
 (0)