summaryrefslogtreecommitdiff
path: root/doPull.go
diff options
context:
space:
mode:
Diffstat (limited to 'doPull.go')
-rw-r--r--doPull.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/doPull.go b/doPull.go
index e6e8525..2ed67a1 100644
--- a/doPull.go
+++ b/doPull.go
@@ -36,6 +36,19 @@ func doPull() error {
return nil
}
*/
+ if argv.Pull.List != nil {
+ found := gitpb.NewRepos()
+ var count int
+ for {
+ if count > 10 {
+ break
+ }
+ count += 1
+ found.Append(me.forge.Repos.Repos[count])
+ }
+ me.forge.PrintPullTable(found)
+ return nil
+ }
// below this, you must not be in 'normal' mode
if me.forge.Config.Mode == forgepb.ForgeMode_NORMAL {