diff --git a/docs/deployment/logs.md b/docs/deployment/logs.md index 62cba312bde..8c9531893b8 100644 --- a/docs/deployment/logs.md +++ b/docs/deployment/logs.md @@ -2,7 +2,7 @@ ``` logs [-h|--help] [-t|--tail] [-n|--num num] [-q|--quiet] [-p|--ps process] # Display recent log output -logs:failed [--all|] # Shows the last failed deploy logs +logs:failed --all| # Shows the last failed deploy logs logs:report [] [] # Displays a logs report for one or more apps logs:set [--global|] # Set or clear a logs property for an app logs:vector-logs [--num num] [--tail] # Display vector log output diff --git a/plugins/logs/subcommands.go b/plugins/logs/subcommands.go index 6808c83522f..775bb1b715d 100644 --- a/plugins/logs/subcommands.go +++ b/plugins/logs/subcommands.go @@ -37,11 +37,6 @@ func CommandFailed(appName string, allApps bool) error { return common.RunCommandAgainstAllAppsSerially(GetFailedLogs, "logs:failed") } - if appName == "" { - common.LogWarn("Deprecated: logs:failed specified without app, assuming --all") - return common.RunCommandAgainstAllAppsSerially(GetFailedLogs, "logs:failed") - } - if err := common.VerifyAppName(appName); err != nil { return err }