Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Display less characters from the commit hash | Rory Dudley | 2024-07-16 | 1 | -1/+1 |
| | | | | | | | | | | The '--version' option prints out the program version, along with the first 10 characters of the git commit hash, indicating at what commit the program was built. This patch reduces the length of the commit hash that gets embeded in the dwvsh binary to 7 characters, as that should be more than enought to determine the correct commit. Signed-off-by: Rory Dudley <rory@netc.lu> | ||||
* | Option parsing and version | Rory Dudley | 2024-07-03 | 1 | -0/+16 |
Add some basic logic for parsing commandline arguments. Also, use build.rs to embed the program version (and git commit) during the compile step. The program currently accepts the '--version' commandline argument to print the version, then quit. |