GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `@option` processing help argument despite docstring saying that it forwards arguments unchanged · Issue #1985 · pallets/click

@option processing help argument despite docstring saying that it forwards arguments unchanged #1985

New issue
Copy link
New issue
Copy link
Closed
#1987
Closed
@option processing help argument despite docstring saying that it forwards arguments unchanged#1985
#1987
Copy link
Labels
docsUpdates to documentation, readme, docstrings, typosparsingParsing, parameters, commands, chaining, context
Milestone
8.1.0

Description

@janluke
janluke
opened on Jul 4, 2021
Issue body actions

click/src/click/decorators.py

Lines 244 to 245 in 8b48450

if "help" in option_attrs:
option_attrs["help"] = inspect.cleandoc(option_attrs["help"])

This code should be moved into Option or the docstring should be updated.

Activity

  1. janluke
    changed the title [-]`@option` processing help argument despite docs saying that it forwards arguments unchanged[/-] [+]`@option` processing help argument despite docstring saying that it forwards arguments unchanged[/+] on Jul 4, 2021
  2. janluke
    added a commit that references this issue on Jul 4, 2021

    Move processing of `help` from @option into Option

    This issue will close once commit 40bb088 is merged into the 'main' branch.
    40bb088
  3. davidism
    added this to the 8.1.0 milestone on Jul 7, 2021
  4. davidism commented on Feb 20, 2022

    @davidism
    davidism
    on Feb 20, 2022
    Member
    More actions

    I'm going to extend this to @command, with help, epilog, and short_help.

  5. davidism
    closed this as completedin #1987on Feb 20, 2022
  6. github-actions
    locked as resolved and limited conversation to collaborators on Mar 7, 2022
  7. kdeldycke
    added
    docsUpdates to documentation, readme, docstrings, typos
    parsingParsing, parameters, commands, chaining, context
    on Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsUpdates to documentation, readme, docstrings, typosparsingParsing, parameters, commands, chaining, context

    Type

    No type

    Projects

    No projects

      Milestone

      • 8.1.0

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.