From: <no...@so...> - 2002-09-21 23:45:35
|
Bugs item #612672, was opened at 2002-09-21 16:45 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=465044&aid=612672&group_id=51915 Category: env-switcher functionality Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jeff Squyres (jsquyres) Assigned to: Jeff Squyres (jsquyres) Summary: Sentinel "none" val. not totally honored Initial Comment: The following usage scenario shows where the sentinel value "none" doesn't seem to work properly. Setting a value to "none" (at least for the "default" attribute) should actually delete the attribute. $ switcher foo --list default=system_bar exists=true $ switcher foo = user_bar $ switcher foo --list default=user_bar exists=true $ switcher foo = none $ switcher foo --list default=none exists=true Hence, the system value "system_bar" is effectively hidden. One can do a "--rm-attr" on default and get the expected behavior, but since "none" is documented to be a special sentinel value, it should just go ahead and remove the attribute, not just mark it as "none". ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=465044&aid=612672&group_id=51915 |