diff --git a/examples/setup/first-run.out b/examples/setup/first-run.out index 55f4c702..19c38063 100644 --- a/examples/setup/first-run.out +++ b/examples/setup/first-run.out @@ -17,8 +17,8 @@ Available Commands: wallet Manage accounts in the local wallet Flags: - --config string config file to use - -h, --help help for oasis - -v, --version version for oasis + --config string config file to use + -h, --help[=true|false] help for oasis + -v, --version[=true|false] version for oasis Use "oasis [command] --help" for more information about a command. diff --git a/go.mod b/go.mod index 9ecb9ab0..f2d01bad 100644 --- a/go.mod +++ b/go.mod @@ -31,7 +31,7 @@ require ( github.com/olekukonko/tablewriter v1.1.5 github.com/opencontainers/image-spec v1.1.1 github.com/spf13/cobra v1.10.2 - github.com/spf13/pflag v1.0.10 + github.com/spf13/pflag v1.1.0 github.com/spf13/viper v1.21.0 github.com/stretchr/testify v1.12.1 github.com/tyler-smith/go-bip39 v1.1.0 diff --git a/go.sum b/go.sum index a4c9c4cd..c06afd7b 100644 --- a/go.sum +++ b/go.sum @@ -458,8 +458,8 @@ github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8 github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk= -github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/pflag v1.1.0 h1:6W6MbVUrnMb8PEhjkqwsVLY7ryuzRfFHF4mQd7L94ag= +github.com/spf13/pflag v1.1.0/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= github.com/spf13/viper v1.17.0 h1:I5txKw7MJasPL/BrfkbA0Jyo/oELqVmux4pR/UxOMfI= github.com/spf13/viper v1.17.0/go.mod h1:BmMMMLQXSbcHK6KAOiFLz0l5JHrU89OdIRHvsk0+yVI= github.com/spiffe/go-spiffe/v2 v2.8.1 h1:eXZMLsu+3MLEPJyGJkolqtVrteZfQdUpOWj6LTiDl/E=