Skip to content

Commit

Permalink
update: help banenr and add/update describe
Browse files Browse the repository at this point in the history
  • Loading branch information
Esonhugh committed Sep 20, 2023
1 parent e9edab6 commit ed677b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/management/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func init() {
var AddCmd = &cobra.Command{
Use: "add",
Aliases: []string{"a"},
Short: "Add a shell script snippet",
Short: "Add/Update a shell script snippet",
Run: func(cmd *cobra.Command, args []string) {
if AddCmdOpts.FromFile {
// Add from file
Expand Down
2 changes: 2 additions & 0 deletions cmd/management/share.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ var ShareCmd = &cobra.Command{
}
if ShareCmdOpts.DryRun {
cmd_impel.PrintTarget(target)
} else {
// cmd_impel.ShareTarget(platform, target)
}
},
}
2 changes: 1 addition & 1 deletion cmd/rootCmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var RootCmd = &cobra.Command{
}
},
Run: func(cmd *cobra.Command, args []string) {
cmd.Help()
cmd.Usage()
},
}

Expand Down

0 comments on commit ed677b8

Please # to comment.