Buffer stdout, use os.Args instead of flag