From: Joey Hess Date: Thu, 25 Oct 2007 23:49:32 +0000 (-0400) Subject: don't list rcs specific commands in usage message or X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/36cda79ee48ec6038e0e3123ff6d679e65f6a6f0 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. --- 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") {