added on command option to example