Skip to content

Commit 84fa1cc

Browse files
authored
extend help text (#449)
## Fixes <!-- List the issue(s) this PR resolves --> #448 ## Changes <!-- List the changes this PR introduces --> - extend help text for clarity. ## Checklist <!-- Put an `x` in the boxes. All tasks must be completed and boxes checked before merging. --> - [x] 🤖 This change is covered by unit tests (if applicable). - [x] 🤹 Manual testing has been performed (if necessary). - [x] 🛡️ Security impacts have been considered (if relevant). - [x] 📖 Documentation updates are complete (if required). - [x] 🧠 Third-party dependencies and TPIP updated (if required).
1 parent faeb25f commit 84fa1cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Flags:
5151
Specify "-q" for no messages
5252
-V, --version Prints the version number of cpackget and exit
5353

54-
Use "cpackget [command] --help" for more information about a command.
54+
Use "cpackget [command] --help" for more information about a command and command-specific flags.
5555
```
5656

5757
For example, if one wanted help removing a pack, running `cpackget rm --help` would print out useful information on the subject.

cmd/commands/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Global Flags:
141141
Additional help topics:{{range .Commands}}{{if .IsAdditionalHelpTopicCommand}}
142142
{{rpad .CommandPath .CommandPathPadding}} {{.Short}}{{end}}{{end}}{{end}}{{if .HasAvailableSubCommands}}
143143
144-
Use "{{.CommandPath}} [command] --help" for more information about a command.{{end}}
144+
Use "{{.CommandPath}} [command] --help" for more information about a command and command-specific flags.{{end}}
145145
`
146146

147147
func NewCli() *cobra.Command {

0 commit comments

Comments
 (0)