From: Matthieu Moy Date: Tue, 11 Jun 2013 13:44:32 GMT Subject: Re: [PATCH] git-remote-mediawiki: display message when launched directly Message-ID: In-Reply-To: <1370957928-19303-1-git-send-email-celestin.matte@ensimag.fr> Célestin Matte writes: > Users may be confused when they run the perl script directly. > A good way to detect this is to check the number of parameters used to call the > script, which is never different from 2 in a normal use. > Display a proper error message to avoid any confusion. Sounds good, thanks. -- Matthieu Moy http://www-verimag.imag.fr/~moy/