[PATCH v3 09/18] bootstd: Add a function to update a command line