>>>>> On Thu, 13 Sep 2012, Mike Frysinger wrote:

>> Maybe it's better to add a --{save,restore} option pair:
>> 
>> addwrite --save /foo/bar
>> # some commands writing to /foo/bar here
>> addwrite --restore   # restore last saved state
>> 
>> or --{push,pop} to allow for nested calls, but maybe that would be
>> overkill.

> not sure how your --save/--restore isn't a --push/--pop already

--save/--restore would keep one saved state (which would be
overwritten with the next --save), whereas --push/--pop would maintain
a stack.

Ulrich

Reply via email to