mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-11-13 14:37:18 +00:00
Support for switching to smira/commander with free placement of flags. #17
This commit is contained in:
1 parent
d84226a054
commit
f648c9547c
40 files changed
+89
-88
No files matched your search
@@ -13,7 +13,7 @@ func aptlySnapshotDiff(cmd *commander.Command, args []string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
onlyMatching := cmd.Flag.Lookup("only-matching").Value.Get().(bool)
|
||||
onlyMatching := context.flags.Lookup("only-matching").Value.Get().(bool)
|
||||
|
||||
// Load <name-a> snapshot
|
||||
snapshotA, err := context.collectionFactory.SnapshotCollection().ByName(args[0])
|
||||
|
||||
Reference in new issue
Block a user