Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
mirror
chocolatey-cookbook
Commits
986c4fc6
Commit
986c4fc6
authored
Aug 16, 2017
by
Torben Knerr
Browse files
explicitly use the double-dash long option names
parent
158e4c84
Changes
1
Hide whitespace changes
Inline
Side-by-side
providers/default.rb
View file @
986c4fc6
...
...
@@ -82,8 +82,8 @@ end
def
cmd_args
output
=
''
output
+=
" -source
#{
@current_resource
.
source
}
"
if
@current_resource
.
source
output
+=
" --i
a
'
#{
@current_resource
.
args
}
'"
unless
@current_resource
.
args
.
to_s
.
empty?
output
+=
"
-
-source
#{
@current_resource
.
source
}
"
if
@current_resource
.
source
output
+=
" --i
nstallargs
'
#{
@current_resource
.
args
}
'"
unless
@current_resource
.
args
.
to_s
.
empty?
@current_resource
.
options
.
each
do
|
k
,
v
|
output
+=
" -
#{
k
}
"
output
+=
"
#{
v
}
"
if
v
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment