Added flags

You get --help, --version, and --shorten-at-length
Missing $HOME environment variable handled