porech / engarde

A go network utility to create a reliable IP tunnel over multiple connections
GNU General Public License v2.0
276 stars 41 forks source link

Show version on startup #7

Closed ale-rinaldi closed 5 years ago

ale-rinaldi commented 5 years ago

Fix #5

The commit and branch reference is printed at startup, and it's the only printed thing when the -v argument is passed.

The whole string "commit (branch)" is generated in the compile script and passed on as a single variable, so it will be easy to replace with a version number when we'll begin doing releases.

@xela92 please check that builds at http://www.linuxzogno.org/engarde/builds/fix/3-show-version-on-startup solve the issue for you, then fill free to accept the pull request.

xela92 commented 5 years ago

It is perfect now