Skip to content

docs: update help text for readability in Repeat example and README #787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Examples/repeat/Repeat.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import ArgumentParser

@main
struct Repeat: ParsableCommand {
@Option(help: "The number of times to repeat 'phrase'.")
@Option(help: "How many times to repeat 'phrase'.")
var count: Int? = nil

@Flag(help: "Include a counter with each repetition.")
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ struct Repeat: ParsableCommand {
@Flag(help: "Include a counter with each repetition.")
var includeCounter = false

@Option(name: .shortAndLong, help: "The number of times to repeat 'phrase'.")
@Option(name: .shortAndLong, help: "How many times to repeat 'phrase'.")
var count: Int? = nil

@Argument(help: "The phrase to repeat.")
Expand Down
Loading