[PATCH v2 10/19] bootstd: Add a function to update a command line