Changeset 482 for branches/confman-1.9
- Timestamp:
- 11/11/2009 14:15:28 (2 years ago)
- Location:
- branches/confman-1.9
- Files:
-
- 4 edited
-
. (modified) (1 prop)
-
confman.8.in (modified) (2 diffs)
-
confman.in (modified) (1 diff)
-
confmandoc.sh (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/confman-1.9
-
branches/confman-1.9/confman.8.in
r481 r482 219 219 .Brq Cm get | list 220 220 .It Cm recipe create Oo Fl R Ar filename Oc Oo Ar log_flags Oc Ar recipe 221 .It Cm recipe print Ar recipe221 .It Cm recipe print Oo Ar recipe Oc 222 222 .It Cm recipe Bro Cm edit | remove Brc Oo Ar log_flags Oc Ar recipe 223 223 .It Cm recipe set Ar recipe … … 233 233 in a text editor 234 234 .It Cm get 235 Print the host's current recipe235 Print the name of the host's current recipe 236 236 .It Cm list 237 237 List all recipes 238 238 .It Cm print 239 239 Display the contents of 240 .Ar recipe 240 .Ar recipe . 241 Defaults to the host's current recipe. 241 242 .It Cm remove 242 243 Delete -
branches/confman-1.9/confman.in
r481 r482 1103 1103 1104 1104 function recipe_print { 1105 if [ -z "$1" ] ; then print_usage 1 ; fi1106 1105 local recipe="$1" 1106 1107 if [ -z "$recipe" ] ; then 1108 recipe=$(conf_get_recipe_name) 1109 fi 1110 1107 1111 if ! [ -f "$(conf_recipe_dir)/${recipe}" ] ; then 1108 1112 echo "Error: recipe $recipe does not exist." >&2 1109 1113 exit 1 1110 1114 fi 1115 1111 1116 cat "$(conf_recipe_dir)/${recipe}" 1112 1117 } -
branches/confman-1.9/confmandoc.sh
r481 r482 501 501 Usage: 502 502 $MYNAME recipe [ get | list ] 503 $MYNAME recipe print [ recipe_name ] 503 504 $MYNAME recipe set recipe_name 504 505 $MYNAME recipe [ create | edit | remove ] [ -F file | -m msg ] recipe_name … … 508 509 create Create a recipe with the given name 509 510 edit Edit a recipe with the given name 510 get Print the host's recipe511 get List the host's recipe 511 512 list List all recipes 512 print Print the given recipe 513 print Print the given recipe (defaults to this host's recipe) 513 514 remove Delete a recipe with the given name 514 515 set Set the host's recipe to the given name
Note: See TracChangeset
for help on using the changeset viewer.
