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.
1 parent cd82cab commit 4329f04Copy full SHA for 4329f04
cmd/get.go
@@ -3,6 +3,7 @@ package cmd
3
import (
4
"fmt"
5
"io/ioutil"
6
+ "os"
7
8
tresor "github.com/helloworlddan/tresor/lib"
9
"github.com/spf13/cobra"
@@ -46,6 +47,7 @@ var getCmd = &cobra.Command{
46
47
// Dump to STDOUT if no file specified
48
if localWritePath == "" {
49
fmt.Printf("%s", string(plainBytes))
50
+ fmt.Fprintln(os.Stderr) // Print newline to STDERR to get prompt break right
51
return
52
}
53
0 commit comments