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

"error: The argument '--bugreport <bugreport>' requires a value but none was supplied" #1466

Closed
LeoniePhiline opened this issue Dec 8, 2022 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@LeoniePhiline
Copy link

Describe the bug

The CLI argument --bugreport appears to expect an argument value, but it is unclear what should be provided as value, or if this is a clap error.

See --bugreport <bugreport>:

❯ gitui --help                                                                                                                                                                                                                                                                                          
gitui 0.22.1
extrawurst <mail@rusticorn.com>
blazing fast terminal-ui for git

Usage: gitui [OPTIONS]

Options:
  -t, --theme <THEME>          Set the color theme (defaults to theme.ron)
  -l, --logging                Stores logging output into a cache directory
      --polling                Poll folder for changes instead of using file system events. This can be useful if you run into issues with maximum # of file descriptors
      --bugreport <bugreport>  Generate a bug report
  -d, --directory <directory>  Set the git directory [env: GIT_DIR=]
  -w, --workdir <workdir>      Set the working directory [env: GIT_WORK_TREE=]
  -h, --help                   Print help information
  -V, --version                Print version information

To Reproduce
Steps to reproduce the behavior:

  1. Execute gitui --help
  2. See --bugreport <bugreport>
  3. Try gitui --help bugreport (normal usage print)
  4. Try man gitui (No man page for gitui)
  5. Try gitui --bugreport:
❯ gitui --bugreport     
error: The argument '--bugreport <bugreport>' requires a value but none was supplied

For more information try '--help'

Expected behavior
Either --bugreport should not require an argument value, or it should be clarified what the user needs to provide as value.

Context (please complete the following information):

  • OS/Distro + Version: OpenSUSE Tumbleweed (up to date)
  • GitUI Version 0.22.1
  • Rust version: 1.65
@LeoniePhiline LeoniePhiline added the bug Something isn't working label Dec 8, 2022
@extrawurst extrawurst added this to the v0.23 milestone Dec 9, 2022
IndianBoy42 pushed a commit to IndianBoy42/gitui that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants