Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-cmds
Commits
27d8cea4
Commit
27d8cea4
authored
Dec 02, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix closenotify by not sending empty file set
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
c9ab84bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
cli/parse.go
cli/parse.go
+4
-2
No files found.
cli/parse.go
View file @
27d8cea4
...
...
@@ -49,8 +49,10 @@ func Parse(input []string, stdin *os.File, root *cmds.Command) (cmds.Request, *c
}
req
.
SetArguments
(
stringArgs
)
file
:=
files
.
NewSliceFile
(
""
,
""
,
fileArgs
)
req
.
SetFiles
(
file
)
if
len
(
fileArgs
)
>
0
{
file
:=
files
.
NewSliceFile
(
""
,
""
,
fileArgs
)
req
.
SetFiles
(
file
)
}
err
=
cmd
.
CheckArguments
(
req
)
if
err
!=
nil
{
...
...
Write
Preview
Markdown
is supported
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