Skip to content

Conversation

@tgulacsi
Copy link

Allow empty long flags (--tls.key= --tls.cert=) - the current parser uses the next argument (--tls.cert=) as the value.

Fixes #138 .

@ccoVeille
Copy link

ccoVeille commented Jan 28, 2025

Please be careful about the other implementation currently in PR

Especially this thread

#139 (comment)

@tgulacsi
Copy link
Author

Thanks @ccoVeille , you're right, a86c7b7 fixes my problem (long string args with default values where I want to specify an empty string).
When will it be merged & released ?

@ccoVeille
Copy link

I don't know.

I'm a random Gopher just like you.

The repository owner didn't reply to the question we raised in this thread

@tgulacsi tgulacsi closed this Jan 28, 2025
@tgulacsi
Copy link
Author

Let's concentrate on #139

@tgulacsi tgulacsi deleted the empty-longopt branch January 28, 2025 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Questions about parsing of long flags with = in them

2 participants