diff --git a/command/remote.go b/command/remote.go index 52523a606..727e82480 100644 --- a/command/remote.go +++ b/command/remote.go @@ -48,6 +48,13 @@ func (c *RemoteCommand) Run(args []string) int { return 1 } + // Show help if given no inputs + if !c.conf.disableRemote && c.remoteConf.Type == "atlas" && + name == "" && accessToken == "" { + cmdFlags.Usage() + return 1 + } + // Populate the various configurations c.remoteConf.Config = map[string]string{ "address": address,