C command line tool to access arguments via variables