CLI usage docs appear to be wrong/misleading #6464

Closed
opened 2025-11-02 06:56:50 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @bugsduggan on GitHub (Dec 5, 2020).

  • Gitea version (or commit ref): 1.12.6
  • Git version: 2.25.1
  • Operating system: Ubuntu 20.04.1 LTS
  • Installed from binary download
  • Running on the command line
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist: N/A

Description

I was looking to list all users at the command line, which (according to the docs ), should be as easy as running gitea admin user list. However, when I do that, I get No help topic for 'user'.

Running gitea admin --help only lists the following subcommands:

  • create-user
  • change-password
  • repo-sync-releases
  • regenerate
  • auth

Screenshots

Originally created by @bugsduggan on GitHub (Dec 5, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.12.6 - Git version: 2.25.1 - Operating system: Ubuntu 20.04.1 LTS - Installed from binary download - Running on the command line - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - Log gist: N/A <!-- It really is important to provide pertinent logs --> <!-- Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems --> <!-- In addition, if your problem relates to git commands set `RUN_MODE=dev` at the top of app.ini --> ## Description I was looking to list all users at the command line, which (according to the [docs](https://docs.gitea.io/en-us/command-line/#admin) ), should be as easy as running `gitea admin user list`. However, when I do that, I get `No help topic for 'user'`. Running `gitea admin --help` only lists the following subcommands: - `create-user` - `change-password` - `repo-sync-releases` - `regenerate` - `auth` ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/question label 2025-11-02 06:56:50 -06:00
Author
Owner

@techknowlogick commented on GitHub (Dec 5, 2020):

This has changed in a later version, and the docs match that version. The PR where this has changed is: https://github.com/go-gitea/gitea/pull/10492

@techknowlogick commented on GitHub (Dec 5, 2020): This has changed in a later version, and the docs match that version. The PR where this has changed is: https://github.com/go-gitea/gitea/pull/10492
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6464