|
@@ -12,6 +12,19 @@ if __name__ == '__main__':
|
12
|
12
|
# --------------------------------------
|
13
|
13
|
parser = argparse.ArgumentParser()
|
14
|
14
|
|
|
15
|
+
|
|
16
|
+ parser.add_argument( "--indexfile",
|
|
17
|
+ type = str,
|
|
18
|
+ default = "/var/cache/gitlist/index",
|
|
19
|
+ help = "The name of the index to create" )
|
|
20
|
+
|
|
21
|
+ parser.add_argument( "--gitreposdir",
|
|
22
|
+ type = str,
|
|
23
|
+ default = "/etc/gitlist/gitrepos.d"
|
|
24
|
+ help = "The name of the directory where the " \
|
|
25
|
+ "gitrepos files are" )
|
|
26
|
+
|
|
27
|
+ # --------------------------------------
|
15
|
28
|
subparsers = parser.add_subparsers( dest = "command",
|
16
|
29
|
title = "commands" )
|
17
|
30
|
|