Skip to content

Commit 8aba6ff

Browse files
committed
Fix for Issue #20, plus bonus fix for typo in splunkrc.spec.
1 parent 83bd680 commit 8aba6ff

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

splunkrc.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ host=127.0.0.1
55
port=8089
66

77
# Username to use when logging in
8-
user=admin
8+
username=admin
99

1010
# Password to use when logging in
1111
password=changed
@@ -14,4 +14,4 @@ password=changed
1414
scheme=https
1515

1616
# Namespace to use (OPTIONAL)
17-
namespace=*:*
17+
namespace=*:*

utils/cmdopts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ def load(self, filepath):
7575
for line in file:
7676
if line.startswith("#"): continue # Skip comment
7777
line = line.strip()
78+
if len(line) == 0: continue # Skip blank line
7879
if not line.startswith("-"): line = "--" + line
7980
argv.append(line)
8081
self.parse(argv)

0 commit comments

Comments
 (0)