Explorar el Código

Merge pull request #1036 from porter-dev/0.8.0-1034-porter-logs-failure

[0.8.0] Fixes #1034: set number of args to `porter logs`
abelanger5 hace 4 años
padre
commit
971a6a43d2
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      cli/cmd/logs.go

+ 1 - 0
cli/cmd/logs.go

@@ -13,6 +13,7 @@ import (
 // without any subcommands
 var logsCmd = &cobra.Command{
 	Use:   "logs [release]",
+	Args:  cobra.ExactArgs(1),
 	Short: "Logs the output from a given application.",
 	Run: func(cmd *cobra.Command, args []string) {
 		err := checkLoginAndRun(args, logs)