devargs: fix parsing truncation when using format