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

Introduce a version argument #1

Open
netravnen opened this issue Mar 29, 2023 · 0 comments
Open

Introduce a version argument #1

netravnen opened this issue Mar 29, 2023 · 0 comments

Comments

@netravnen
Copy link

netravnen commented Mar 29, 2023

Introduce a version argument. So it is easy to find out from which git commit hash the binary is compiled from.

At compile time, do

  1. Require a clean git staging area.
  2. Use the latest git commit hash as the version identifier.

./traffic-gen --version, or
./traffic-gen -v, or
./traffic-gen -V.

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

No branches or pull requests

1 participant