Add <command> to help when a sub-command is required.

This commit is contained in:
Alec Thomas
2018-06-08 15:04:26 +10:00
parent d30421d2b1
commit 73064a687f
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ func TestHelp(t *testing.T) {
})
require.True(t, exited)
t.Log(w.String())
require.Equal(t, `usage: test-app --required
require.Equal(t, `usage: test-app --required <command>
A test app.