grisu / gricli

Grisu commandline client
7 stars 2 forks source link

unset email #217

Closed sina-masoud-ansari closed 12 years ago

sina-masoud-ansari commented 12 years ago

jobs> unset email variable email cannot be set to reason: cannot be unset jobs>

for this class of variable, should be something like: 'variable x cannot be unset'

vladimir-mencl-eresearch commented 12 years ago

What is the reason why it could not be unset .... ?

sina-masoud-ansari commented 12 years ago

I think unset is being used to clear arrays such as 'files' or 'env' at the moment.

A similar error will pop up for something like dir or memory.

If I recall correctly, unset was to put variables back to their default values, so that the user doesn't have to remember the default values e.g. "", null or false etc

makkus commented 12 years ago

After more thinking and consulting Yuriy, will revert those changes.