summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormario <mario-krehl@gmx.de>2016-11-05 11:52:23 +0100
committermario <mario-krehl@gmx.de>2016-11-05 11:53:13 +0100
commit73b9aa62660f4e68aa9af08090b6e695dcc9a7f7 (patch)
tree506f60d78f32f0434347cf00979083fed987a5dd
parentbb291ca1fafdeabe3437756631e14c03243cf711 (diff)
downloadimag-73b9aa62660f4e68aa9af08090b6e695dcc9a7f7.zip
imag-73b9aa62660f4e68aa9af08090b6e695dcc9a7f7.tar.gz
Add comment for `&version!()[..]`
-rw-r--r--bin/build.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/build.rs b/bin/build.rs
index 183f235..a7d44a2 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(