aboutsummaryrefslogtreecommitdiff
path: root/var/shell-complete.rs
diff options
context:
space:
mode:
Diffstat (limited to 'var/shell-complete.rs')
-rw-r--r--var/shell-complete.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/shell-complete.rs b/var/shell-complete.rs
index 4793ed3..a6f476d 100644
--- a/var/shell-complete.rs
+++ b/var/shell-complete.rs
@@ -28,7 +28,10 @@ mod nitrocli {
// We only need a stripped down version of the `Command` macro.
macro_rules! Command {
- ( $name:ident, [ $( $(#[$doc:meta])* $var:ident$(($inner:ty))? => $exec:expr, ) *] ) => {
+ ( $(#[$docs:meta])* $name:ident, [
+ $( $(#[$doc:meta])* $var:ident$(($inner:ty))? => $exec:expr, ) *
+ ] ) => {
+ $(#[$docs])*
#[derive(Debug, PartialEq, structopt::StructOpt)]
pub enum $name {
$(