Add comment for &version!()[..]
This commit is contained in:
parent
0f22941cd0
commit
ec2b8984bb
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@ macro_rules! gen_mods_buildui {
|
||||||
/// &version!()[..],
|
/// &version!()[..],
|
||||||
/// "counter"))
|
/// "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 {
|
macro_rules! build_subcommand {
|
||||||
($name:expr, $module:ident) => (
|
($name:expr, $module:ident) => (
|
||||||
$module::build_ui(Runtime::get_default_cli_builder(
|
$module::build_ui(Runtime::get_default_cli_builder(
|
||||||
|
|
Loading…
Reference in a new issue