Use enum : bool in commandline test