mirror of
https://gitea.com/gitea/tea.git
synced 2025-10-30 16:55:25 +01:00
fix -o flag (#53)
This commit is contained in:
@@ -93,7 +93,7 @@ func runIssuesList(ctx *cli.Context) error {
|
|||||||
var values [][]string
|
var values [][]string
|
||||||
|
|
||||||
if len(issues) == 0 {
|
if len(issues) == 0 {
|
||||||
Output(output, headers, values)
|
Output(outputValue, headers, values)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,7 +112,7 @@ func runIssuesList(ctx *cli.Context) error {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Output(output, headers, values)
|
Output(outputValue, headers, values)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,8 +13,6 @@ import (
|
|||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
||||||
var output string
|
|
||||||
|
|
||||||
// CmdPulls represents to login a gitea server.
|
// CmdPulls represents to login a gitea server.
|
||||||
var CmdPulls = cli.Command{
|
var CmdPulls = cli.Command{
|
||||||
Name: "pulls",
|
Name: "pulls",
|
||||||
@@ -46,7 +44,7 @@ func runPulls(ctx *cli.Context) error {
|
|||||||
var values [][]string
|
var values [][]string
|
||||||
|
|
||||||
if len(prs) == 0 {
|
if len(prs) == 0 {
|
||||||
Output(output, headers, values)
|
Output(outputValue, headers, values)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -68,7 +66,7 @@ func runPulls(ctx *cli.Context) error {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Output(output, headers, values)
|
Output(outputValue, headers, values)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ func runReleases(ctx *cli.Context) error {
|
|||||||
var values [][]string
|
var values [][]string
|
||||||
|
|
||||||
if len(releases) == 0 {
|
if len(releases) == 0 {
|
||||||
Output(output, headers, values)
|
Output(outputValue, headers, values)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ func runReleases(ctx *cli.Context) error {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Output(output, headers, values)
|
Output(outputValue, headers, values)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user