[PATCH] git-remote-mediawiki: display message when launched directly

2013-06-11 Thread Célestin Matte
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. Signed-off-by: Célestin Matte Signed-off-by

Re: [PATCH] git-remote-mediawiki: display message when launched directly

2013-06-11 Thread Matthieu Moy
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 g