From 36cda79ee48ec6038e0e3123ff6d679e65f6a6f0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 25 Oct 2007 19:49:32 -0400 Subject: [PATCH 1/1] don't list rcs specific commands in usage message or allow them to be run manually Just too confusing. This does also prevent user-defined commands from having '_' in the name, but I think that's acceptable. --- mr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mr b/mr index 606ea5d..cf5ffc0 100755 --- a/mr +++ b/mr @@ -856,7 +856,7 @@ sub loadconfig { #{{{ } else { $config{$dir}{$section}{$parameter}=$value; - $knownactions{$parameter}=1; + $knownactions{$parameter}=1 if $parameter !~ /_/; if ($parameter eq 'chain' && length $dir && $section ne "DEFAULT" && -e $dir.$section."/.mrconfig") { -- 2.39.5