Skip to content
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

Correct usage strings #357

Merged
merged 1 commit into from
Nov 1, 2024
Merged
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 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
Loading