[lxc-devel] [lxd/master] Fill missing csv docs

techtonik on Github lxc-bot at linuxcontainers.org
Sat Apr 15 11:13:53 UTC 2017


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 355 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20170415/1b3aa8cc/attachment.bin>
-------------- next part --------------
From 7535df33aa5c7918c1d54b057670b0d7175a4545 Mon Sep 17 00:00:00 2001
From: anatoly techtonik <techtonik at gmail.com>
Date: Sat, 15 Apr 2017 14:10:58 +0300
Subject: [PATCH] Fill missing csv docs

Signed-off-by: anatoly techtonik <techtonik at gmail.com>
---
 lxc/list.go | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lxc/list.go b/lxc/list.go
index 3822409..83341bc 100644
--- a/lxc/list.go
+++ b/lxc/list.go
@@ -72,7 +72,8 @@ A regular expression matching a configuration item or its value. (e.g. volatile.
 
 *Columns*
 The -c option takes a comma separated list of arguments that control
-which container attributes to output when displaying in table format.
+which container attributes to output when displaying in table or csv
+format.
 
 Column arguments are either pre-defined shorthand chars (see below),
 or (extended) config keys.
@@ -129,7 +130,7 @@ lxc list -c ns,user.comment:comment
 func (c *listCmd) flags() {
 	gnuflag.StringVar(&c.columnsRaw, "c", "ns46tS", i18n.G("Columns"))
 	gnuflag.StringVar(&c.columnsRaw, "columns", "ns46tS", i18n.G("Columns"))
-	gnuflag.StringVar(&c.format, "format", "table", i18n.G("Format (table|json)"))
+	gnuflag.StringVar(&c.format, "format", "table", i18n.G("Format (table|json|csv)"))
 	gnuflag.BoolVar(&c.fast, "fast", false, i18n.G("Fast mode (same as --columns=nsacPt)"))
 }
 


More information about the lxc-devel mailing list