diff options
author | mario <mario-krehl@gmx.de> | 2016-11-05 11:52:23 +0100 |
---|---|---|
committer | mario <mario-krehl@gmx.de> | 2016-11-05 11:53:13 +0100 |
commit | 73b9aa62660f4e68aa9af08090b6e695dcc9a7f7 (patch) | |
tree | 506f60d78f32f0434347cf00979083fed987a5dd /bin | |
parent | bb291ca1fafdeabe3437756631e14c03243cf711 (diff) |
Add comment for `&version!()[..]`
Diffstat (limited to 'bin')
-rw-r--r-- | bin/build.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/build.rs b/bin/build.rs index 183f2351..a7d44a20 100644 --- a/bin/build.rs +++ b/bin/build.rs @@ -36,6 +36,10 @@ macro_rules! gen_mods_buildui { /// &version!()[..], /// "counter")) /// ``` +/// As for the `&version!()[..]` part, it does not matter +/// which version the subcommand is getting here, as the +/// output of this script is a completion script, which +/// does not contain information about the version at all. macro_rules! build_subcommand { ($name:expr, $module:ident) => ( $module::build_ui(Runtime::get_default_cli_builder( |