cookutils diff doc/cookutils.en.html @ rev 31

cooker: use command like cook not --options so we can also use short switch, ex: cooker -n 'Add note to cooknotes'
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 06 17:05:53 2011 +0200 (2011-05-06)
parents 107f17f16133
children e1a3c5900648
line diff
     1.1 --- a/doc/cookutils.en.html	Fri May 06 04:46:36 2011 +0200
     1.2 +++ b/doc/cookutils.en.html	Fri May 06 17:05:53 2011 +0200
     1.3 @@ -160,11 +160,12 @@
     1.4  	web server.
     1.5  </p>
     1.6  <p>
     1.7 -	The Cooker provide a small built-in help usage that you can display with
     1.8 -	the command:
     1.9 +	The Cooker provide a small built-in help usage and short command switch.
    1.10 +	For example to display usage you can use:
    1.11  </p>
    1.12  <pre>
    1.13 -# cooker --usage
    1.14 +# cooker usage
    1.15 +# cooker -u
    1.16  </pre>
    1.17  
    1.18  <h3>Cooker setup</h3>
    1.19 @@ -174,10 +175,12 @@
    1.20  	One Hg and clean wok as reference and one build wok, in this way is is easy
    1.21  	to compare both wok and get modifications. If you already have a cook
    1.22  	environement, you must move your wok before setting up the Cooker or it
    1.23 -	will complain:
    1.24 +	will complain. Setup will also install a set of development packages that
    1.25 +	can be configured in the cook.conf configuration file and the variable
    1.26 +	SETUP_PKGS. To setup your cooker environment:
    1.27  </p>
    1.28  <pre>
    1.29 -# cooker --setup
    1.30 +# cooker setup
    1.31  </pre>
    1.32  <p>
    1.33  	If all went well you have now 2 wok, base developement packages installed
    1.34 @@ -201,7 +204,7 @@
    1.35  	logs:
    1.36  </p>
    1.37  <pre>
    1.38 -# cooker --pkg=pkgname
    1.39 +# cooker pkg pkgname
    1.40  </pre>
    1.41  <p>
    1.42  	To cook more than one package at once you have different kind of choices.
    1.43 @@ -210,9 +213,9 @@
    1.44  	all packages of a category.
    1.45  </p>
    1.46  <pre>
    1.47 -# cooker --flavor=flavor
    1.48 -# cooker --list=/path/to/list
    1.49 -# cooker --cat=category
    1.50 +# cooker flavor [name]
    1.51 +# cooker list [/path/to/cooklist]
    1.52 +# cooker cat [category]
    1.53  </pre>
    1.54  
    1.55  <h3>Cooker CGI/Web</h3>
    1.56 @@ -265,8 +268,8 @@
    1.57  	checked from cmdline:
    1.58  </p>
    1.59  <pre>
    1.60 -# cooker --note="Blocked pkgname due to heavy CPU load"
    1.61 -# cooker --notes
    1.62 +# cooker note "Blocked pkgname due to heavy CPU load"
    1.63 +# cooker notes
    1.64  </pre>
    1.65  
    1.66  <!-- End content -->