From 4dc12b2f2eebb266b1a9812c98757a738748c63b Mon Sep 17 00:00:00 2001 From: Frederik Delaere Date: Thu, 5 Jul 2018 09:51:01 +0200 Subject: [PATCH] update readme and help message --- README.md | 2 +- src/main.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3932eba..9094607 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ D perl/5.14.1 | Perl 5.14.1 is a highly capable, feature-rich programming langua * ```module list``` Shows a list of all the loaded modules. * ```module autoload append|prepend|remove|list|purge [modulename(s)]``` Manages the auto loading of modules by adding them to your startup scripts. * ```module delete [modulename(s)]``` Deletes one or more modulefiles. But only if you have the permissions to do so. - * ```module readme [modulename]``` Looks for a README file in the module installation folder and displays the contents of this file. + * ```module readme [modulename]``` Looks for a manpage or README file in the module installation folder and displays the contents of this file. * The output is not redirected to stderr, but to stdout. So you are able to use grep / rg on the output and it doesn't trigger errors in pipelines. * RSModules is fast because it's written in a compiled language and it is using cache files for listing the modules. * By using module info, users can easily discover what a module provides and how they use the software that is bundled with the module. diff --git a/src/main.rs b/src/main.rs index d7aad37..7ff6a07 100644 --- a/src/main.rs +++ b/src/main.rs @@ -163,8 +163,8 @@ static LONG_HELP: &str = " Manages the autoloading of modules when opening a new terminal. * readme [modulename] - Looks for a README file in the module installation folder and - displays the contents of this file. + Looks for a manpage or a README file in the module installation + folder and displays the contents of this file. "; fn is_shell_supported(shell: &str) -> bool {