Commit 0bcad63 1 parent aba1cfa commit 0bcad63 Copy full SHA for 0bcad63
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -292,7 +292,7 @@ func getCommands(config Config) []*cli.Command {
292
292
fmt .Fprintln (os .Stderr )
293
293
os .Exit (1 )
294
294
}
295
- return nil
295
+ return nil
296
296
}
297
297
}
298
298
@@ -372,7 +372,7 @@ func addDefaultCommands(commands []*cli.Command) []*cli.Command {
372
372
fmt .Println ("Example .ahoy.yml downloaded to the current directory. You can customize it to suit your needs!" )
373
373
}
374
374
}
375
- return nil
375
+ return nil
376
376
},
377
377
}
378
378
@@ -429,7 +429,7 @@ func NoArgsAction(c *cli.Context) error {
429
429
430
430
// Exit gracefully if we get to here.
431
431
os .Exit (0 )
432
- return nil
432
+ return nil
433
433
}
434
434
435
435
// BeforeCommand runs before every command so arguments or flags must be passed
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ teardown() {
59
59
[ " $status " -eq 1 ]
60
60
61
61
# Check that sub1-cmd and sub2-cmd are listed under main-cmd
62
- run ./ahoy main-cmd --help
62
+ run ./ahoy main-cmd
63
63
echo $output
64
64
[ " $status " -eq 0 ]
65
65
[[ " $output " =~ " sub1-cmd" ]]
You can’t perform that action at this time.
0 commit comments