[systemd-devel] [PATCH] systemd-analyze: switch to python getopt for argument parsing

Patrick McCarty patrick.mccarty at linux.intel.com
Mon May 14 15:29:26 PDT 2012


On Mon, May 14, 2012 at 03:03:34PM -0700, shawn wrote:
> avoid excessive indentation

> From aa8f24d4f00ceaa8f1624c64880a62718142660f Mon Sep 17 00:00:00 2001
> From: Shawn Landden <shawnlandden at gmail.com>
> Date: Thu, 3 May 2012 16:41:40 -0700
> Subject: [PATCH] systemd-analyze: switch to python getopt for argument
>  parsing
> 
> this uses gnu style getopt, so you can put the opts at the end: (e.g.)
> systemd-analyze blame --user
> 
> v4
> ---
>  src/analyze/systemd-analyze |   65 ++++++++++++++++++++++++++++++-------------
>  1 file changed, 46 insertions(+), 19 deletions(-)

This patch looks good to me.

Thanks!

-Patrick


More information about the systemd-devel mailing list