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

Flags write before arguments in toxiproxy-cli #308

Merged
merged 2 commits into from
Sep 3, 2021
Merged

Conversation

miry
Copy link
Contributor

@miry miry commented Sep 3, 2021

In #294 introduced a breaking change in client argument parsing.
It requires to write flags before arguments.
Update help texts and documentation to have POSIX way to use
flags and arguments.

Example:

Before

$ toxiproxy-cli create shopify_test_redis_master -l localhost:26379 -u localhost:6379

After

$ toxiproxy-cli create -l localhost:26379 -u localhost:6379 shopify_test_redis_master

@miry miry self-assigned this Sep 3, 2021
In #294 introduced a breaking change in client argument parsing.
It requires to write [flags before arguments](https://github.com/urfave/cli/blob/master/docs/migrate-v1-to-v2.md#flags-before-args).
Update help texts and documentation to have POSIX way to use
flags and arguments.
Copy link
Contributor

@DAmatheson DAmatheson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I offered a suggestion for improved clarity of the changelog text

CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Drew Matheson <DAmatheson@users.noreply.github.com>
@miry miry merged commit cdc5682 into master Sep 3, 2021
@miry miry deleted the flags-before-args branch September 3, 2021 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants