Ensure that command usage starts uppercase and ends period (#11278)

# Description

This repeats #8268 to make all command usage strings start with an
uppercase letter and end with a period per #5056

Adds a test to ensure that commands won't regress

Part of #5066

# User-Facing Changes

Command usage is now consistent

# Tests + Formatting

- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
- 🟢 `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting

Automatic documentation updates
This commit is contained in:
Eric Hodel
2023-12-10 06:28:54 -08:00
committed by GitHub
parent 3e5f81ae14
commit ecb3b3a364
22 changed files with 81 additions and 32 deletions

View File

@ -27,7 +27,7 @@ impl Command for SubCommand {
}
fn usage(&self) -> &str {
"Removed command: use `format date` instead"
"Removed command: use `format date` instead."
}
fn run(