Refactor by separating AptlyContext into separate package. #116

This commit is contained in:
Andrey Smirnov committed 2014-10-06 21:54:15 +04:00
1 parent 159608cef3
commit 8a787d2c35
29 files changed
+463 -413

No files matched your search

+2 -2
View File
@@ -72,8 +72,8 @@ func aptlyPackageShow(cmd *commander.Command, args []string) error {
return fmt.Errorf("unable to show: %s", err)
}
withFiles := context.flags.Lookup("with-files").Value.Get().(bool)
withReferences := context.flags.Lookup("with-references").Value.Get().(bool)
withFiles := context.Flags().Lookup("with-files").Value.Get().(bool)
withReferences := context.Flags().Lookup("with-references").Value.Get().(bool)
w := bufio.NewWriter(os.Stdout)