hash-object: replace stdin parsing OPT_BOOLEAN by OPT_COUNTUP