chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from:
0c02718
)
systemd-analyze: use argparse instead of getopt
author
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Sat, 3 Nov 2012 17:26:28 +0000
(18:26 +0100)
committer
Zbigniew Jędrzejewski-Szmek
<zbyszek@in.waw.pl>
Tue, 13 Nov 2012 01:23:02 +0000
(
02:23
+0100)
Makes the output way nicer with shorter code. Also brings
systemd-analyze behaviour more in line with other systemd-programs.
Argparse is in Python since 2.6, and is available as a package for
previous versions, if someone is stuck with very old Python.
No differences found