We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbc6b39 commit 1a0dc0bCopy full SHA for 1a0dc0b
1 file changed
deisctl/deisctl_test.go
@@ -35,7 +35,7 @@ func TestHelp(t *testing.T) {
35
out := ""
36
for _, args := range allArgs {
37
out = commandOutput(args)
38
- if !strings.Contains(out, "Usage: deisctl <command> [<args>...] [options]") ||
+ if !strings.Contains(out, "Usage: deisctl [options] <command> [<args>...]") ||
39
!strings.Contains(out, "Commands, use \"deisctl help <command>\" to learn more") {
40
t.Error(out)
41
}
@@ -45,7 +45,7 @@ func TestHelp(t *testing.T) {
45
// TestUsage ensures that deisctl prints a short usage string when no arguments were provided.
46
func TestUsage(t *testing.T) {
47
out := commandOutput(nil)
48
- if out != "Usage: deisctl <command> [<args>...] [options]\n" {
+ if out != "Usage: deisctl [options] <command> [<args>...]\n" {
49
50
51
0 commit comments