Skip to content

Commit

Permalink
restructured usage code, now rsmodules can show usage text for indivi…
Browse files Browse the repository at this point in the history
…dual module commands
  • Loading branch information
Frederik Delaere committed Oct 10, 2019
1 parent 378f2a6 commit b2d7f2f
Show file tree
Hide file tree
Showing 3 changed files with 257 additions and 118 deletions.
6 changes: 6 additions & 0 deletions src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,9 @@ macro_rules! lu(
$file.lock().unwrap()
)
);

macro_rules! help(
($file:expr, $cmd:expr) => (
$file.get($cmd).unwrap()
)
);
Loading

0 comments on commit b2d7f2f

Please sign in to comment.