summaryrefslogtreecommitdiff
path: root/src/leap/util/leap_argparse.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-03-15 13:30:01 -0300
committerkali <kali@leap.se>2013-03-21 23:01:50 +0900
commit8f54774f6c3f779527718a0158ebd0efc4aab588 (patch)
tree8a746424f81698b03cabcc481196273672b5601e /src/leap/util/leap_argparse.py
parentddbad58fc2b3f44a293eeac7790a06f13b56944a (diff)
Handle configuration and paths in a standalone way
Also, abstracts QSettings under LeapSettings and adds a way to define the VPN env in a platform dependant way.
Diffstat (limited to 'src/leap/util/leap_argparse.py')
-rw-r--r--src/leap/util/leap_argparse.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/util/leap_argparse.py b/src/leap/util/leap_argparse.py
index 83272a3d..66b1a2a5 100644
--- a/src/leap/util/leap_argparse.py
+++ b/src/leap/util/leap_argparse.py
@@ -37,6 +37,10 @@ Launches the LEAP Client""", epilog=epilog)
type=int,
action="store", dest="openvpn_verb",
help='verbosity level for openvpn logs [1-6]')
+ parser.add_argument('--standalone', action="store_true",
+ help='Makes the client use standalone'
+ 'directories for configuration and binary'
+ 'searching')
# Not in use, we might want to reintroduce them.
#parser.add_argument('-i', '--no-provider-checks',