diff options
Diffstat (limited to 'src/arg_util.rs')
-rw-r--r-- | src/arg_util.rs | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/arg_util.rs b/src/arg_util.rs index b96f653..6d1bc50 100644 --- a/src/arg_util.rs +++ b/src/arg_util.rs @@ -147,19 +147,6 @@ macro_rules! fmt_enum { }}; } -/// A macro for generating the help text for a command/subcommand. The -/// argument is the variable representing the command (which in turn is -/// an enum). -/// Note that the name of this variable is embedded into the help text! -macro_rules! cmd_help { - ( $cmd:ident ) => { - format!( - concat!("The ", stringify!($cmd), " to execute ({})"), - fmt_enum!($cmd) - ) - }; -} - #[cfg(test)] mod tests { Enum! {Command, [ |