mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
Use cli Flags directly and not some helper funcs
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
This commit is contained in:
parent
475ddd8d89
commit
5cd093aa46
8 changed files with 91 additions and 69 deletions
|
@ -22,7 +22,7 @@ var CmdCert = cli.Command{
|
|||
Action: runCert,
|
||||
}
|
||||
|
||||
func runCert(ctx *cli.Context) error {
|
||||
func runCert(*cli.Context) error {
|
||||
fmt.Println("Command cert not available, please use build tags 'cert' to rebuild.")
|
||||
os.Exit(1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue