Skip to content

Commit

Permalink
Correct usage strings (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
foodprocessor authored Nov 1, 2024
1 parent f4dba99 commit 27302db
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
)

var generateCmd = &cobra.Command{
Use: "generate [component name]",
Use: "generate <component name>",
Hidden: true,
Short: "Generate a new component for Cloudfuse",
Long: "Generate a new component for Cloudfuse",
Expand Down
2 changes: 1 addition & 1 deletion cmd/mount.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func parseConfig() error {
// We use the cobra library to provide a CLI for Cloudfuse.
// Look at https://cobra.dev/ for more information
var mountCmd = &cobra.Command{
Use: "mount [path]",
Use: "mount <mount path>",
Short: "Mounts the container as a filesystem",
Long: "Mounts the container as a filesystem",
SuggestFor: []string{"mnt", "mout"},
Expand Down
2 changes: 1 addition & 1 deletion cmd/mount_all.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ type containerListingOptions struct {
var mountAllOpts containerListingOptions

var mountAllCmd = &cobra.Command{
Use: "all [path] <flags>",
Use: "all <mount path>",
Short: "Mounts all containers for a given cloud account as a filesystem",
Long: "Mounts all containers for a given cloud account as a filesystem",
SuggestFor: []string{"mnta", "mout"},
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import (
var check bool

var versionCmd = &cobra.Command{
Use: "version [--check]",
Use: "version",
Short: "Command to print the current version along with optional check for latest version",
FlagErrorHandling: cobra.ExitOnError,
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit 27302db

Please sign in to comment.