-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This brings the `ant` binary in alignment with how versioning is handled for the other binaries. As with the other binaries, to save a lot of hassle, the version arguments are implemented 'manually' rather than using the direct mechanism from `clap`. Therefore, to get the expected behaviour, the main subcommand has to be made optional. From the user's point of view nothing changes. I took the opportunity to also sort the arguments alphabetically. This is how they are organised in the node manager, and I find it makes for easier reference.
- Loading branch information
Showing
4 changed files
with
78 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters