Compare commits

..
1 Commits
Author SHA1 Message Date
CyberShell 5f6459d5be v0.13.1
ci/woodpecker/push/publish-docs Pipeline is pending
ci/woodpecker/push/go-lint Pipeline failed
ci/woodpecker/tag/gitea Pipeline was successful
ci/woodpecker/tag/publish-docs Pipeline was successful
ci/woodpecker/release/publish-docs Pipeline was successful
2026-08-15 09:53:03 -05:00
4 changed files with 11 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
## v0.13.1 - 2026-08-15
### Changed
* Print help for exec command if no args given
+4
View File
@@ -6,6 +6,10 @@ adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html),
and is generated by [Changie](https://github.com/miniscruff/changie). and is generated by [Changie](https://github.com/miniscruff/changie).
## v0.13.1 - 2026-08-15
### Changed
* Print help for exec command if no args given
## v0.13.0 - 2026-08-15 ## v0.13.0 - 2026-08-15
### Changed ### Changed
* List subcommands print out everything with no arguments * List subcommands print out everything with no arguments
+3 -1
View File
@@ -5,6 +5,8 @@
package cmd package cmd
import ( import (
"fmt"
"git.andrewnw.xyz/CyberShell/backy/pkg/backy" "git.andrewnw.xyz/CyberShell/backy/pkg/backy"
"git.andrewnw.xyz/CyberShell/backy/pkg/logging" "git.andrewnw.xyz/CyberShell/backy/pkg/logging"
@@ -29,7 +31,7 @@ func execute(cmd *cobra.Command, args []string) {
parseS3Config() parseS3Config()
if len(args) < 1 { if len(args) < 1 {
logging.ExitWithMSG("Please provide a command to run. Pass --help to see options.", 1, nil) logging.ExitWithMSG(fmt.Sprintf("Please provide a command to run.\n\n%s", cmd.Long), 1, nil)
} }
opts := backy.NewConfigOptions(configFile, opts := backy.NewConfigOptions(configFile,
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"github.com/spf13/cobra" "github.com/spf13/cobra"
) )
const versionStr = "0.13.0" const versionStr = "0.13.1"
var ( var (
versionCmd = &cobra.Command{ versionCmd = &cobra.Command{