Fixed invalid references to pastebin now scratchbox
This commit is contained in:
@@ -17,9 +17,9 @@ func main() {
|
||||
|
||||
func newRootCmd() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "scratchbox",
|
||||
Short: "Scratchbox CLI",
|
||||
SilenceUsage: true,
|
||||
Use: "scratchbox",
|
||||
Short: "Scratchbox CLI",
|
||||
SilenceUsage: true,
|
||||
SilenceErrors: true,
|
||||
RunE: func(cmd *cobra.Command, _ []string) error {
|
||||
return cmd.Help()
|
||||
@@ -39,7 +39,7 @@ func run(configPath string) error {
|
||||
return fmt.Errorf("config load failed: %w", err)
|
||||
}
|
||||
|
||||
logger := log.New(os.Stdout, "[pastebin] ", log.LstdFlags|log.LUTC)
|
||||
logger := log.New(os.Stdout, "[scratchbox] ", log.LstdFlags|log.LUTC)
|
||||
|
||||
store, err := storage.NewFilesystemStore(cfg.Storage.DataDir)
|
||||
if err != nil {
|
||||
Reference in New Issue
Block a user