mirror of
https://github.com/ejwa/gitinspector.git
synced 2024-09-30 11:21:28 +02:00
Added long option (--weeks) to the -w option.
This makes it clearer that it is supported in conjunction with git-config as well.
This commit is contained in:
parent
15026f6f00
commit
f20b826d2d
@ -95,7 +95,7 @@ def main():
|
|||||||
__opts__, __args__ = getopt.gnu_getopt(sys.argv[1:], "cf:F:hHlmrTwx:", ["checkout-missing", "exclude=",
|
__opts__, __args__ = getopt.gnu_getopt(sys.argv[1:], "cf:F:hHlmrTwx:", ["checkout-missing", "exclude=",
|
||||||
"file-types=", "format=", "hard", "help", "list-file-types",
|
"file-types=", "format=", "hard", "help", "list-file-types",
|
||||||
"metrics", "responsibilities", "since=", "grading",
|
"metrics", "responsibilities", "since=", "grading",
|
||||||
"timeline", "until=", "version"])
|
"timeline", "until=", "version", "weeks"])
|
||||||
for arg in __args__:
|
for arg in __args__:
|
||||||
__run__.repo = arg
|
__run__.repo = arg
|
||||||
|
|
||||||
@ -138,7 +138,7 @@ def main():
|
|||||||
__run__.timeline = True
|
__run__.timeline = True
|
||||||
elif o in("--until"):
|
elif o in("--until"):
|
||||||
interval.set_until(a)
|
interval.set_until(a)
|
||||||
elif o in("-w"):
|
elif o in("-w", "--weeks"):
|
||||||
__run__.useweeks = True
|
__run__.useweeks = True
|
||||||
elif o in("-x", "--exclude"):
|
elif o in("-x", "--exclude"):
|
||||||
filtering.add(a)
|
filtering.add(a)
|
||||||
|
@ -54,7 +54,7 @@ Mandatory arguments to long options are mandatory for short options too.
|
|||||||
-T, --timeline show commit timeline, including author names
|
-T, --timeline show commit timeline, including author names
|
||||||
--until=DATE only show statistics for commits older than a
|
--until=DATE only show statistics for commits older than a
|
||||||
specific date
|
specific date
|
||||||
-w show all statistical information in weeks
|
-w, --weeks show all statistical information in weeks
|
||||||
instead of in months
|
instead of in months
|
||||||
-x, --exclude=PATTERN an exclusion pattern describing file names that
|
-x, --exclude=PATTERN an exclusion pattern describing file names that
|
||||||
should be excluded from the statistics; can
|
should be excluded from the statistics; can
|
||||||
|
@ -127,7 +127,7 @@ msgid ""
|
|||||||
" -T, --timeline show commit timeline, including author names\n"
|
" -T, --timeline show commit timeline, including author names\n"
|
||||||
" --until=DATE only show statistics for commits older than a\n"
|
" --until=DATE only show statistics for commits older than a\n"
|
||||||
" specific date\n"
|
" specific date\n"
|
||||||
" -w show all statistical information in weeks\n"
|
" -w, --weeks show all statistical information in weeks\n"
|
||||||
" instead of in months\n"
|
" instead of in months\n"
|
||||||
" -x, --exclude=PATTERN an exclusion pattern describing file names that\n"
|
" -x, --exclude=PATTERN an exclusion pattern describing file names that\n"
|
||||||
" should be excluded from the statistics; can\n"
|
" should be excluded from the statistics; can\n"
|
||||||
|
Binary file not shown.
@ -154,7 +154,7 @@ msgid ""
|
|||||||
" --until=DATE only show statistics for commits older than "
|
" --until=DATE only show statistics for commits older than "
|
||||||
"a\n"
|
"a\n"
|
||||||
" specific date\n"
|
" specific date\n"
|
||||||
" -w show all statistical information in weeks\n"
|
" -w, --weeks show all statistical information in weeks\n"
|
||||||
" instead of in months\n"
|
" instead of in months\n"
|
||||||
" -x, --exclude=PATTERN an exclusion pattern describing file names "
|
" -x, --exclude=PATTERN an exclusion pattern describing file names "
|
||||||
"that\n"
|
"that\n"
|
||||||
@ -213,7 +213,7 @@ msgstr ""
|
|||||||
" --until=DATUM beräkna endast statistik för inlämningar "
|
" --until=DATUM beräkna endast statistik för inlämningar "
|
||||||
"äldre\n"
|
"äldre\n"
|
||||||
" än ett angivet datum\n"
|
" än ett angivet datum\n"
|
||||||
" -w visa statistisk information indelad i veckor\n"
|
" -w, --weeks visa statistisk information indelad i veckor\n"
|
||||||
" istället för månader\n"
|
" istället för månader\n"
|
||||||
" -x, --exclude=MÖNSTER ett uteslutningsmönster som anger de filnamn\n"
|
" -x, --exclude=MÖNSTER ett uteslutningsmönster som anger de filnamn\n"
|
||||||
" som ska uteslutas ur statistiken; kan "
|
" som ska uteslutas ur statistiken; kan "
|
||||||
|
Loading…
Reference in New Issue
Block a user