[PATCH 2/3] Implement -Y option for printing command names for PIDs

Dmitry V. Levin ldv at altlinux.org
Tue Aug 24 10:58:16 UTC 2021


On Wed, Aug 18, 2021 at 08:00:41PM +0900, Masatake YAMATO wrote:
[...]
> @@ -2158,6 +2168,7 @@ init(int argc, char *argv[])
>  		{ "summary-wall-clock", no_argument,	   0, 'w' },
>  		{ "strings-in-hex",	optional_argument, 0, GETOPT_HEX_STR },
>  		{ "const-print-style",	required_argument, 0, 'X' },
> +		{ "decode-pids",	optional_argument, 0, 'Y' },

This means that --decode-pids takes an optional argument, which it
currently doesn't.  It should be either no_argument or the option
should handle its optional argument.


-- 
ldv


More information about the Strace-devel mailing list