Changeset 635
- Timestamp:
- 11/09/07 00:34:19 (1 year ago)
- Files:
-
- branches/1.0beta3.x/lib/jelix-scripts/commands/createmodule.cmd.php (modified) (4 diffs)
- branches/1.0beta3.x/lib/jelix-scripts/commands/createmodule.cmd.php (modified) (4 diffs)
- branches/1.0beta3.x/lib/jelix-scripts/commands/help.cmd.php (modified) (2 diffs)
- branches/1.0beta3.x/lib/jelix-scripts/commands/help.cmd.php (modified) (2 diffs)
- trunk/lib/jelix-scripts/commands/createmodule.cmd.php (modified) (4 diffs)
- trunk/lib/jelix-scripts/commands/createmodule.cmd.php (modified) (4 diffs)
- trunk/lib/jelix-scripts/commands/help.cmd.php (modified) (2 diffs)
- trunk/lib/jelix-scripts/commands/help.cmd.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.0beta3.x/lib/jelix-scripts/commands/createmodule.cmd.php
r479 r635 16 16 public $allowed_parameters=array('module'=>true); 17 17 18 public $syntaxhelp = "[-nosubdir] [-nocontroller] [- withcmdline] MODULE";18 public $syntaxhelp = "[-nosubdir] [-nocontroller] [-cmdline] MODULE"; 19 19 public $help=array( 20 20 'fr'=>" … … 25 25 -nosubdir (facultatif) : ne créer pas tous les sous-repertoires courant.. 26 26 -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 commande27 -cmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 28 28 MODULE : le nom du module à créer.", 29 29 'en'=>" … … 32 32 -nosubdir (optional): don't create sub-directories. 33 33 -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) 35 35 MODULE: name of the new module." 36 36 ); … … 62 62 $agcommand = jxs_load_command('createctrl'); 63 63 $options = array(); 64 if ($this->getOption('- withcmdline')) {64 if ($this->getOption('-cmdline')) { 65 65 $options = array('-cmdline'=>true); 66 66 } branches/1.0beta3.x/lib/jelix-scripts/commands/createmodule.cmd.php
r479 r635 16 16 public $allowed_parameters=array('module'=>true); 17 17 18 public $syntaxhelp = "[-nosubdir] [-nocontroller] [- withcmdline] MODULE";18 public $syntaxhelp = "[-nosubdir] [-nocontroller] [-cmdline] MODULE"; 19 19 public $help=array( 20 20 'fr'=>" … … 25 25 -nosubdir (facultatif) : ne créer pas tous les sous-repertoires courant.. 26 26 -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 commande27 -cmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 28 28 MODULE : le nom du module à créer.", 29 29 'en'=>" … … 32 32 -nosubdir (optional): don't create sub-directories. 33 33 -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) 35 35 MODULE: name of the new module." 36 36 ); … … 62 62 $agcommand = jxs_load_command('createctrl'); 63 63 $options = array(); 64 if ($this->getOption('- withcmdline')) {64 if ($this->getOption('-cmdline')) { 65 65 $options = array('-cmdline'=>true); 66 66 } branches/1.0beta3.x/lib/jelix-scripts/commands/help.cmd.php
r414 r635 32 32 OPTIONS : une ou plusieurs options. Le nom d'une option commence par un 33 33 tiret et peut être suivi par une valeur. 34 exemple :35 - override36 -pro ject-path /foo/bar34 exemple d'options pour certaines commandes : 35 -cmdline 36 -profile myprofil 37 37 PARAMETRES : une ou plusieurs valeurs qui se suivent 38 38 … … 52 52 COMMAND: name of the command to execute 53 53 OPTIONS: one or more options. An option name begin with a '-' and can be 54 followed by a value. Example :55 - override56 -pro ject-path /foo/bar54 followed by a value. Example with some specific commands: 55 -cmdline 56 -profil myprofil 57 57 PARAMETERS: one or more values 58 58 branches/1.0beta3.x/lib/jelix-scripts/commands/help.cmd.php
r414 r635 32 32 OPTIONS : une ou plusieurs options. Le nom d'une option commence par un 33 33 tiret et peut être suivi par une valeur. 34 exemple :35 - override36 -pro ject-path /foo/bar34 exemple d'options pour certaines commandes : 35 -cmdline 36 -profile myprofil 37 37 PARAMETRES : une ou plusieurs valeurs qui se suivent 38 38 … … 52 52 COMMAND: name of the command to execute 53 53 OPTIONS: one or more options. An option name begin with a '-' and can be 54 followed by a value. Example :55 - override56 -pro ject-path /foo/bar54 followed by a value. Example with some specific commands: 55 -cmdline 56 -profil myprofil 57 57 PARAMETERS: one or more values 58 58 trunk/lib/jelix-scripts/commands/createmodule.cmd.php
r479 r635 16 16 public $allowed_parameters=array('module'=>true); 17 17 18 public $syntaxhelp = "[-nosubdir] [-nocontroller] [- withcmdline] MODULE";18 public $syntaxhelp = "[-nosubdir] [-nocontroller] [-cmdline] MODULE"; 19 19 public $help=array( 20 20 'fr'=>" … … 25 25 -nosubdir (facultatif) : ne créer pas tous les sous-repertoires courant.. 26 26 -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 commande27 -cmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 28 28 MODULE : le nom du module à créer.", 29 29 'en'=>" … … 32 32 -nosubdir (optional): don't create sub-directories. 33 33 -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) 35 35 MODULE: name of the new module." 36 36 ); … … 62 62 $agcommand = jxs_load_command('createctrl'); 63 63 $options = array(); 64 if ($this->getOption('- withcmdline')) {64 if ($this->getOption('-cmdline')) { 65 65 $options = array('-cmdline'=>true); 66 66 } trunk/lib/jelix-scripts/commands/createmodule.cmd.php
r479 r635 16 16 public $allowed_parameters=array('module'=>true); 17 17 18 public $syntaxhelp = "[-nosubdir] [-nocontroller] [- withcmdline] MODULE";18 public $syntaxhelp = "[-nosubdir] [-nocontroller] [-cmdline] MODULE"; 19 19 public $help=array( 20 20 'fr'=>" … … 25 25 -nosubdir (facultatif) : ne créer pas tous les sous-repertoires courant.. 26 26 -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 commande27 -cmdline (facultatif) : crée le module avec un controleur pour la ligne de commande 28 28 MODULE : le nom du module à créer.", 29 29 'en'=>" … … 32 32 -nosubdir (optional): don't create sub-directories. 33 33 -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) 35 35 MODULE: name of the new module." 36 36 ); … … 62 62 $agcommand = jxs_load_command('createctrl'); 63 63 $options = array(); 64 if ($this->getOption('- withcmdline')) {64 if ($this->getOption('-cmdline')) { 65 65 $options = array('-cmdline'=>true); 66 66 } trunk/lib/jelix-scripts/commands/help.cmd.php
r414 r635 32 32 OPTIONS : une ou plusieurs options. Le nom d'une option commence par un 33 33 tiret et peut être suivi par une valeur. 34 exemple :35 - override36 -pro ject-path /foo/bar34 exemple d'options pour certaines commandes : 35 -cmdline 36 -profile myprofil 37 37 PARAMETRES : une ou plusieurs valeurs qui se suivent 38 38 … … 52 52 COMMAND: name of the command to execute 53 53 OPTIONS: one or more options. An option name begin with a '-' and can be 54 followed by a value. Example :55 - override56 -pro ject-path /foo/bar54 followed by a value. Example with some specific commands: 55 -cmdline 56 -profil myprofil 57 57 PARAMETERS: one or more values 58 58 trunk/lib/jelix-scripts/commands/help.cmd.php
r414 r635 32 32 OPTIONS : une ou plusieurs options. Le nom d'une option commence par un 33 33 tiret et peut être suivi par une valeur. 34 exemple :35 - override36 -pro ject-path /foo/bar34 exemple d'options pour certaines commandes : 35 -cmdline 36 -profile myprofil 37 37 PARAMETRES : une ou plusieurs valeurs qui se suivent 38 38 … … 52 52 COMMAND: name of the command to execute 53 53 OPTIONS: one or more options. An option name begin with a '-' and can be 54 followed by a value. Example :55 - override56 -pro ject-path /foo/bar54 followed by a value. Example with some specific commands: 55 -cmdline 56 -profil myprofil 57 57 PARAMETERS: one or more values 58 58
