Update of /cvsroot/env-switcher/env-switcher/man
In directory usw-pr-cvs1:/tmp/cvs-serv1538/man
Modified Files:
switcher.1
Log Message:
- Enhanced announce attribute mechanism
- Updated man page to match new functionality
Index: switcher.1
===================================================================
RCS file: /cvsroot/env-switcher/env-switcher/man/switcher.1,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** switcher.1 18 May 2002 22:00:19 -0000 1.3
--- switcher.1 18 May 2002 23:44:05 -0000 1.4
***************
*** 188,199 ****
.I switcher
expects is a value name on a given tag that indicates what modulefile
! should be loaded.
.IP announce
! Valid values for the announce attribute are: true, false. If true,
! switcher will print out a message announcing what name is loaded for a
! given tag. If false (or undefined), no message will be printed. If
! the global announce tag is set to true, all tag/name combinations will
! be printed as they are loaded, unless the announce attribute for a
! specific tag is set to false.
.PP
Attributes by any other name can be cached on a tag --
--- 188,204 ----
.I switcher
expects is a value name on a given tag that indicates what modulefile
! should be loaded. If the default attribute resolves to the
! value "none", then no modulefile will be loaded for that tag.
.IP announce
! The announce attribute takes a list of event types in which to display
! a message. Valid event types are: all, none, load, warn, error.
! Other event types are ignored. Multiple types should be delimited
! with commas. The "load" type will print out a message indicating
! which name was loaded for the default attribute. The "warn" type will
! print out warnings; the "error" type will print out errors. "none"
! indicates that no messages should ever be printed; "all" is a shortcut
! for all types except "none". If the announce attribute is undefined,
! it defaults to "warn,error", unless the "--silent" command line switch
! is used, in which case the announce attribute defaults to "none".
.PP
Attributes by any other name can be cached on a tag --
***************
*** 207,215 ****
.I switcher
attributes.
- .SH SPECIAL VALUES
- Currently, the only special value that
- .I switcher
- recognizes on the "default" attribute is "none". This means that no
- modulefile will be loaded for that tag.
.SH ATTRIBUTE SCOPE / RESOLUTION
.I switcher
--- 212,215 ----
|