We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2fc497 + 394f525 commit 3e60b9eCopy full SHA for 3e60b9e
cmd/scs-build/main.go
@@ -12,7 +12,7 @@ import (
12
13
func main() {
14
if err := execute(); err != nil {
15
- fmt.Fprintln(os.Stderr, err)
+ fmt.Fprintln(os.Stderr, "Error:", err)
16
os.Exit(1)
17
}
18
cmd/scs-build/root.go
@@ -15,8 +15,10 @@ import (
)
var rootCmd = &cobra.Command{
- Use: "scs-build",
19
- Short: "Sylabs Cloud Build Client",
+ Use: "scs-build",
+ Short: "Sylabs Cloud Build Client",
20
+ SilenceErrors: true,
21
+ SilenceUsage: true,
22
23
24
// Build metadata set by linker.
0 commit comments