X Tutup
The Wayback Machine - https://web.archive.org/web/20220125150614/https://github.com/cli/cli/issues/5100
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh repo edit: not clear how to invert --enable-issues #5100

Open
jeffg-hpe opened this issue Jan 25, 2022 · 1 comment
Open

gh repo edit: not clear how to invert --enable-issues #5100

jeffg-hpe opened this issue Jan 25, 2022 · 1 comment

Comments

@jeffg-hpe
Copy link

@jeffg-hpe jeffg-hpe commented Jan 25, 2022

Describe the bug

gh repo edit offers several flags --enable-issues, --enable-*, but does not explain how to use those flags to disable those features. Same as #2901 but for gh repo edit

Steps to reproduce the behavior

  1. Type this gh repo edit --help
  2. The output does not explain how to set --enable-issues to false. (Same for other --enable-*)
  3. Confusion

Expected vs actual behavior

Need fix like #2908

@mislav
Copy link
Member

@mislav mislav commented Jan 25, 2022

Agreed that some examples are necessary here; thanks for bringing this up!

In the meantime, this is the syntax:

gh repo edit --enable-issues=false --enable-wiki=false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
X Tutup