[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lxc-devel
Subject:    [lxc-devel] [lxd/master] Change lxc help to to go to stdout
From:       stgraber on Github <lxc-bot () linuxcontainers ! org>
Date:       2016-08-30 17:02:29
Message-ID: 20160830170229.B16B4380F0 () mailman01 ! srv ! dcmtl ! stgraber ! net
[Download RAW message or body]

[Attachment #2 (text/x-mailbox)]

The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/2326

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Closes #2301
Closes #2317

Signed-off-by: Carlos <cneirabustos@gmail.com>

[Attachment #3 (text/plain)]

From 36ce9f96cdd6c0d93e80bd764ef66ee10c4e508f Mon Sep 17 00:00:00 2001
From: Carlos <cneirabustos@gmail.com>
Date: Thu, 25 Aug 2016 16:04:35 -0300
Subject: [PATCH] Change lxc help to to go to stdout

Closes #2301
Closes #2317

Signed-off-by: Carlos <cneirabustos@gmail.com>
---
 lxc/help.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lxc/help.go b/lxc/help.go
index 678e218..b01732a 100644
--- a/lxc/help.go
+++ b/lxc/help.go
@@ -39,7 +39,7 @@ func (c *helpCmd) run(_ *lxd.Config, args []string) error {
 			if !ok {
 				fmt.Fprintf(os.Stderr, i18n.G("error: unknown command: %s")+"\n", name)
 			} else {
-				fmt.Fprintf(os.Stderr, cmd.usage()+"\n")
+				fmt.Fprintf(os.Stdout, cmd.usage()+"\n")
 			}
 		}
 		return nil

[Attachment #4 (text/plain)]

_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic