summaryrefslogtreecommitdiff
path: root/src/options.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.py')
-rw-r--r--src/options.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/options.py b/src/options.py
index 9064369..c910ef2 100644
--- a/src/options.py
+++ b/src/options.py
@@ -5,7 +5,7 @@ options = {
"name": "help",
"flag" : True,
"desc" : "prints the command usage and exists the program",
- }
+ },
"y" : {
"name" : "no-confirm",
"flag" : True,
@@ -21,6 +21,12 @@ options = {
"name" : "no-sync",
"flag" : True,
"desc" : "skip syncing with repo sources (not recommended)"
+ },
+ "c": {
+ "name" : "config",
+ "flag" : False,
+ "desc" : "specify the configuration file to use",
+ "default" : "/etc/xipkg.conf"
}
}