let pflag_and_dep tags ptag cmd_spec = Param_tags.declare ptag (fun param -> flag_and_dep (Param_tags.make ptag param :: tags) (cmd_spec param))