removed [default: None] for --code

docopt interpreted it as "None" (string).