Changeset 635

Show
Ignore:
Timestamp:
11/09/07 00:34:19 (1 year ago)
Author:
laurentj
Message:

fixed bug #328: errors in help messages in jelix-scripts

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.0beta3.x/lib/jelix-scripts/commands/createmodule.cmd.php

    r479 r635  
    1616    public  $allowed_parameters=array('module'=>true); 
    1717 
    18     public  $syntaxhelp = "[-nosubdir] [-nocontroller] [-withcmdline] MODULE"; 
     18    public  $syntaxhelp = "[-nosubdir] [-nocontroller] [-cmdline] MODULE"; 
    1919    public  $help=array( 
    2020        'fr'=>" 
     
    2525    -nosubdir (facultatif) : ne créer pas tous les sous-repertoires courant.. 
    2626    -nocontroller (facultatif) : ne créer pas de fichier controleur par défaut 
    27     -withcmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 
     27    -cmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 
    2828    MODULE : le nom du module à créer.", 
    2929        'en'=>" 
     
    3232    -nosubdir (optional): don't create sub-directories. 
    3333    -nocontroller (optional): don't create a default controller. 
    34     -withcmdline (optional): create a controller for command line (jControllerCmdLine) 
     34    -cmdline (optional): create a controller for command line (jControllerCmdLine) 
    3535    MODULE: name of the new module." 
    3636    ); 
     
    6262         $agcommand = jxs_load_command('createctrl'); 
    6363         $options = array(); 
    64          if ($this->getOption('-withcmdline')) { 
     64         if ($this->getOption('-cmdline')) { 
    6565            $options = array('-cmdline'=>true); 
    6666         } 
  • branches/1.0beta3.x/lib/jelix-scripts/commands/createmodule.cmd.php

    r479 r635  
    1616    public  $allowed_parameters=array('module'=>true); 
    1717 
    18     public  $syntaxhelp = "[-nosubdir] [-nocontroller] [-withcmdline] MODULE"; 
     18    public  $syntaxhelp = "[-nosubdir] [-nocontroller] [-cmdline] MODULE"; 
    1919    public  $help=array( 
    2020        'fr'=>" 
     
    2525    -nosubdir (facultatif) : ne créer pas tous les sous-repertoires courant.. 
    2626    -nocontroller (facultatif) : ne créer pas de fichier controleur par défaut 
    27     -withcmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 
     27    -cmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 
    2828    MODULE : le nom du module à créer.", 
    2929        'en'=>" 
     
    3232    -nosubdir (optional): don't create sub-directories. 
    3333    -nocontroller (optional): don't create a default controller. 
    34     -withcmdline (optional): create a controller for command line (jControllerCmdLine) 
     34    -cmdline (optional): create a controller for command line (jControllerCmdLine) 
    3535    MODULE: name of the new module." 
    3636    ); 
     
    6262         $agcommand = jxs_load_command('createctrl'); 
    6363         $options = array(); 
    64          if ($this->getOption('-withcmdline')) { 
     64         if ($this->getOption('-cmdline')) { 
    6565            $options = array('-cmdline'=>true); 
    6666         } 
  • branches/1.0beta3.x/lib/jelix-scripts/commands/help.cmd.php

    r414 r635  
    3232    OPTIONS  : une ou plusieurs options. Le nom d'une option commence par un 
    3333               tiret et peut être suivi par une valeur. 
    34                exemple
    35                  -overrid
    36                  -project-path /foo/bar 
     34               exemple d'options pour certaines commandes
     35                 -cmdlin
     36                 -profile myprofil 
    3737    PARAMETRES : une ou plusieurs valeurs qui se suivent 
    3838 
     
    5252    COMMAND: name of the command to execute 
    5353    OPTIONS: one or more options. An option name begin with a '-' and can be  
    54             followed by a value. Example
    55               -overrid
    56               -project-path /foo/bar 
     54            followed by a value. Example with some specific commands
     55              -cmdlin
     56              -profil myprofil 
    5757    PARAMETERS: one or more values 
    5858 
  • branches/1.0beta3.x/lib/jelix-scripts/commands/help.cmd.php

    r414 r635  
    3232    OPTIONS  : une ou plusieurs options. Le nom d'une option commence par un 
    3333               tiret et peut être suivi par une valeur. 
    34                exemple
    35                  -overrid
    36                  -project-path /foo/bar 
     34               exemple d'options pour certaines commandes
     35                 -cmdlin
     36                 -profile myprofil 
    3737    PARAMETRES : une ou plusieurs valeurs qui se suivent 
    3838 
     
    5252    COMMAND: name of the command to execute 
    5353    OPTIONS: one or more options. An option name begin with a '-' and can be  
    54             followed by a value. Example
    55               -overrid
    56               -project-path /foo/bar 
     54            followed by a value. Example with some specific commands
     55              -cmdlin
     56              -profil myprofil 
    5757    PARAMETERS: one or more values 
    5858 
  • trunk/lib/jelix-scripts/commands/createmodule.cmd.php

    r479 r635  
    1616    public  $allowed_parameters=array('module'=>true); 
    1717 
    18     public  $syntaxhelp = "[-nosubdir] [-nocontroller] [-withcmdline] MODULE"; 
     18    public  $syntaxhelp = "[-nosubdir] [-nocontroller] [-cmdline] MODULE"; 
    1919    public  $help=array( 
    2020        'fr'=>" 
     
    2525    -nosubdir (facultatif) : ne créer pas tous les sous-repertoires courant.. 
    2626    -nocontroller (facultatif) : ne créer pas de fichier controleur par défaut 
    27     -withcmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 
     27    -cmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 
    2828    MODULE : le nom du module à créer.", 
    2929        'en'=>" 
     
    3232    -nosubdir (optional): don't create sub-directories. 
    3333    -nocontroller (optional): don't create a default controller. 
    34     -withcmdline (optional): create a controller for command line (jControllerCmdLine) 
     34    -cmdline (optional): create a controller for command line (jControllerCmdLine) 
    3535    MODULE: name of the new module." 
    3636    ); 
     
    6262         $agcommand = jxs_load_command('createctrl'); 
    6363         $options = array(); 
    64          if ($this->getOption('-withcmdline')) { 
     64         if ($this->getOption('-cmdline')) { 
    6565            $options = array('-cmdline'=>true); 
    6666         } 
  • trunk/lib/jelix-scripts/commands/createmodule.cmd.php

    r479 r635  
    1616    public  $allowed_parameters=array('module'=>true); 
    1717 
    18     public  $syntaxhelp = "[-nosubdir] [-nocontroller] [-withcmdline] MODULE"; 
     18    public  $syntaxhelp = "[-nosubdir] [-nocontroller] [-cmdline] MODULE"; 
    1919    public  $help=array( 
    2020        'fr'=>" 
     
    2525    -nosubdir (facultatif) : ne créer pas tous les sous-repertoires courant.. 
    2626    -nocontroller (facultatif) : ne créer pas de fichier controleur par défaut 
    27     -withcmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 
     27    -cmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 
    2828    MODULE : le nom du module à créer.", 
    2929        'en'=>" 
     
    3232    -nosubdir (optional): don't create sub-directories. 
    3333    -nocontroller (optional): don't create a default controller. 
    34     -withcmdline (optional): create a controller for command line (jControllerCmdLine) 
     34    -cmdline (optional): create a controller for command line (jControllerCmdLine) 
    3535    MODULE: name of the new module." 
    3636    ); 
     
    6262         $agcommand = jxs_load_command('createctrl'); 
    6363         $options = array(); 
    64          if ($this->getOption('-withcmdline')) { 
     64         if ($this->getOption('-cmdline')) { 
    6565            $options = array('-cmdline'=>true); 
    6666         } 
  • trunk/lib/jelix-scripts/commands/help.cmd.php

    r414 r635  
    3232    OPTIONS  : une ou plusieurs options. Le nom d'une option commence par un 
    3333               tiret et peut être suivi par une valeur. 
    34                exemple
    35                  -overrid
    36                  -project-path /foo/bar 
     34               exemple d'options pour certaines commandes
     35                 -cmdlin
     36                 -profile myprofil 
    3737    PARAMETRES : une ou plusieurs valeurs qui se suivent 
    3838 
     
    5252    COMMAND: name of the command to execute 
    5353    OPTIONS: one or more options. An option name begin with a '-' and can be  
    54             followed by a value. Example
    55               -overrid
    56               -project-path /foo/bar 
     54            followed by a value. Example with some specific commands
     55              -cmdlin
     56              -profil myprofil 
    5757    PARAMETERS: one or more values 
    5858 
  • trunk/lib/jelix-scripts/commands/help.cmd.php

    r414 r635  
    3232    OPTIONS  : une ou plusieurs options. Le nom d'une option commence par un 
    3333               tiret et peut être suivi par une valeur. 
    34                exemple
    35                  -overrid
    36                  -project-path /foo/bar 
     34               exemple d'options pour certaines commandes
     35                 -cmdlin
     36                 -profile myprofil 
    3737    PARAMETRES : une ou plusieurs valeurs qui se suivent 
    3838 
     
    5252    COMMAND: name of the command to execute 
    5353    OPTIONS: one or more options. An option name begin with a '-' and can be  
    54             followed by a value. Example
    55               -overrid
    56               -project-path /foo/bar 
     54            followed by a value. Example with some specific commands
     55              -cmdlin
     56              -profil myprofil 
    5757    PARAMETERS: one or more values 
    5858 
Download in other formats: Unified Diff Zip Archive