mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-15 10:07:24 +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
+1
-1
@@ -20,7 +20,7 @@ func aptlyServe(cmd *commander.Command, args []string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
listen := cmd.Flag.Lookup("listen").Value.String()
|
||||
listen := context.flags.Lookup("listen").Value.String()
|
||||
|
||||
listenHost, listenPort, err := net.SplitHostPort(listen)
|
||||
|
||||
|
||||
Reference in new issue
Block a user