gi: add workaround for output of inout argv