[Koha] trouble running rebuildnonmarc.pl

paul POULAIN paul.poulain at free.fr
Thu Apr 15 00:00:34 NZST 2004


MJ Ray a écrit :

> On 2004-04-13 17:16:26 +0100 paul POULAIN <paul.poulain at 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)




More information about the Koha mailing list