Temporarily borrowed some code from command-line-arguments.
Added asd metadata.