Skip to content

Commit adcee17

Browse files
committed
Consistent punctuation on prompts
Signed-off-by: Robert Detjens <[email protected]>
1 parent a778186 commit adcee17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/init/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub fn interactive_init() -> inquire::error::InquireResult<config::RcdsConfig> {
5252
.prompt()?,
5353
// TODO: do we actually want to be in charge of these credentials vs expecting the local building utility already be logged in?
5454
pass: inquire::Password::new("Container registry 'build' password:")
55-
.with_help_message("The password to the 'build' user account") // TODO: could this support username:pat too?
55+
.with_help_message("The password to the 'build' user account.") // TODO: could this support username:pat too?
5656
.with_display_mode(inquire::PasswordDisplayMode::Masked)
5757
.with_custom_confirmation_message("Enter again:")
5858
.prompt()?,
@@ -65,7 +65,7 @@ pub fn interactive_init() -> inquire::error::InquireResult<config::RcdsConfig> {
6565
.with_placeholder(example_values::REGISTRY_CLUSTER_USER)
6666
.prompt()?,
6767
pass: inquire::Password::new("Container registry 'cluster' password:")
68-
.with_help_message("The password to the 'cluster' user account")
68+
.with_help_message("The password to the 'cluster' user account.")
6969
.with_display_mode(inquire::PasswordDisplayMode::Masked)
7070
.with_custom_confirmation_message("Enter again:")
7171
.prompt()?,
@@ -77,7 +77,7 @@ pub fn interactive_init() -> inquire::error::InquireResult<config::RcdsConfig> {
7777
let mut again = inquire::Confirm::new("Do you want to provide a difficulty class?")
7878
.with_default(false)
7979
.prompt()?;
80-
//
80+
8181
println!("Challenge points are dynamic. For a static challenge, simply set minimum and maximum points to the same value.");
8282
let mut points = vec![];
8383
while again {

0 commit comments

Comments
 (0)