[lxc-devel] [lxd/master] Do not show version command by default
techtonik on Github
lxc-bot at linuxcontainers.org
Fri Jul 1 09:16:42 UTC 2016
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 412 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160701/9c884f07/attachment.bin>
-------------- next part --------------
From d42634fde2e158bd2eecb2608d304f2e18205974 Mon Sep 17 00:00:00 2001
From: anatoly techtonik <techtonik at gmail.com>
Date: Fri, 1 Jul 2016 12:16:40 +0300
Subject: [PATCH] Do not show version command by default
Used only once in a lifetime, and easily discoverable
Signed-off-by: anatoly techtonik <techtonik at gmail.com>
---
lxc/version.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lxc/version.go b/lxc/version.go
index 8711849..bc25737 100644
--- a/lxc/version.go
+++ b/lxc/version.go
@@ -11,7 +11,7 @@ import (
type versionCmd struct{}
func (c *versionCmd) showByDefault() bool {
- return true
+ return false
}
func (c *versionCmd) usage() string {
More information about the lxc-devel
mailing list