mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +00:00
aptly exits with 2 on command/flag parse error. #52
This commit is contained in:
1 parent
2cbb486f6b
commit
05a42f4cba
40 files changed
+104
-32
No files matched your search
@@ -13,7 +13,7 @@ func aptlySnapshotPull(cmd *commander.Command, args []string) error {
|
||||
var err error
|
||||
if len(args) < 4 {
|
||||
cmd.Usage()
|
||||
return err
|
||||
return commander.ErrCommandError
|
||||
}
|
||||
|
||||
noDeps := context.flags.Lookup("no-deps").Value.Get().(bool)
|
||||
|
||||
Reference in new issue
Block a user