Skip to content

Commit 6dc6a6f

Browse files
committed
fix(client): print usage if no args were given
1 parent a0bcbc8 commit 6dc6a6f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

client/deis.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ Use 'git push deis master' to deploy to an application.
7272
}
7373

7474
if len(argv) == 0 {
75-
return 0
75+
fmt.Println("Usage: deis <command> [<args>...]")
76+
return 1
7677
}
7778

7879
// Dispatch the command, passing the argv through so subcommands can

0 commit comments

Comments
 (0)