14 Apr
2004
14 Apr
'04
1 p.m.
MJ Ray a écrit :
On 2004-04-13 17:16:26 +0100 paul POULAIN <paul.poulain@free.fr> wrote:
./ebuildnonmarc.pl -c aren't you ? If you don't -c (confirm), the script will stop. To avoid any too-fast-launching it.
How does -c avoid too-fast-launching?
Many users type "./unknownscript.pl" to see how they work. Usually, when a script is called without any args, it shows it's syntax (like ./anything.pl --help). So, when I write a script that modify the DB and don't need any parameter to do it's job, I add a -c to be sure the user really want to execute it ;-) -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)