fix using dos without argument

Dos kept going when using without any argument.