Skip to content

cli.HelpFlag = nil can be used now when update urfave/cli to v2.26.0 #28444

@dacheng-gao

Description

@dacheng-gao

Description

In fact, it's not a bug but rather a TODO that needs attention. I've noticed a TODO at cmd/main.go:L53. Fortunately, the related issue on urfave/cli has been resolved in version v2.26.0. Therefore, it should be safe for us to update the version and comment out the TODO.

The issue was tracked here: urfave/cli/issues/1794, and the fix is included in the release: v2.26.0.

If you find this proposal suitable, I'll proceed with a minor fix.

Gitea Version

main

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Actually I'm not running Gitea.

Database

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/not-a-bugThe reported issue is the intended behavior or the problem is not inside Gitea

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions