projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
21200: copied branch from arvados-workbench2 Arvados-DCO-1.1-Signed-off-by: Lisa...
[arvados.git]
/
lib
/
cli
/
get.go
diff --git
a/lib/cli/get.go
b/lib/cli/get.go
index 9625214e22ebd1c805fe0ae21b04c47e2304aece..352e7b9af61ea2a51a12656ae26141335b1e64c2 100644
(file)
--- a/
lib/cli/get.go
+++ b/
lib/cli/get.go
@@
-30,12
+30,12
@@
func (getCmd) RunCommand(prog string, args []string, stdin io.Reader, stdout, st
flags.SetOutput(stderr)
err = flags.Parse(args)
if err != nil {
flags.SetOutput(stderr)
err = flags.Parse(args)
if err != nil {
- return
2
+ return
cmd.EXIT_INVALIDARGUMENT
}
if len(flags.Args()) != 1 {
fmt.Fprintf(stderr, "usage of %s:\n", prog)
flags.PrintDefaults()
}
if len(flags.Args()) != 1 {
fmt.Fprintf(stderr, "usage of %s:\n", prog)
flags.PrintDefaults()
- return
2
+ return
cmd.EXIT_INVALIDARGUMENT
}
if opts.Short {
opts.Format = "uuid"
}
if opts.Short {
opts.Format = "uuid"