summaryrefslogtreecommitdiff
path: root/clcommands.py
diff options
context:
space:
mode:
Diffstat (limited to 'clcommands.py')
-rw-r--r--clcommands.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/clcommands.py b/clcommands.py
index a0b4d90..411931b 100644
--- a/clcommands.py
+++ b/clcommands.py
@@ -121,6 +121,7 @@ class CommandLine(dict):
if rcfile is not None and arg in ('-C', '--rc-file'):
try:
rcfile = args.pop(0)
+ arg = args.pop(0)
except IndexError:
self.usage_and_exit(1)
try: