Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: spf13/pflag
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.5
Choose a base ref
...
head repository: spf13/pflag
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.6
Choose a head ref
  • 8 commits
  • 12 files changed
  • 7 contributors

Commits on May 4, 2020

  1. Add exported functions to preserve pkg/flag compatibility (#220)

    * Rename out() to Output()
    
    This brings behavior inline with go's flag library, and allows for
    printing output directly to whatever the current FlagSet is using for
    output. This change will make it easier to correctly emit output to
    stdout or stderr (e.g. a user has requested a help screen, which
    should emit to stdout since it's the desired outcome).
    
    * improve compat. with pkg/flag by adding Name()
    
    pkg/flag has a public `Name()` function, which returns the name of the
    flag set when called. This commit adds that function, as well as a
    test for it.
    
    * Streamline testing Name()
    
    Testing `Name()` will move into its own explicit test, instead of
    running inline during `TestAddFlagSet()`.
    
    Co-authored-by: Chloe Kudryavtsev <toast@toast.cafe>
    
    Co-authored-by: Chloe Kudryavtsev <toast@toast.cafe>
    mckern and Chloe Kudryavtsev authored May 4, 2020
    Configuration menu
    Copy the full SHA
    81378bb View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2020

  1. Configuration menu
    Copy the full SHA
    6971c29 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2020

  1. Add IPNetSlice and unit tests (#170)

    rpothier authored Oct 9, 2020
    Configuration menu
    Copy the full SHA
    85dd5c8 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2021

  1. Configuration menu
    Copy the full SHA
    d5e0c06 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2025

  1. add github actions

    Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
    sagikazarmark committed Jan 9, 2025
    Configuration menu
    Copy the full SHA
    f48cbd1 View commit details
    Browse the repository at this point in the history
  2. fix govet

    Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
    sagikazarmark committed Jan 9, 2025
    Configuration menu
    Copy the full SHA
    a0f4ddd View commit details
    Browse the repository at this point in the history
  3. disable unsupported dependency graph for now

    Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
    sagikazarmark committed Jan 9, 2025
    Configuration menu
    Copy the full SHA
    100ab0e View commit details
    Browse the repository at this point in the history
  4. Merge pull request #419 from spf13/ci

    add github actions
    sagikazarmark authored Jan 9, 2025
    Configuration menu
    Copy the full SHA
    5ca8134 View commit details
    Browse the repository at this point in the history
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy